com.liferay.portal.kernel.util
Class InfrastructureUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.InfrastructureUtil

public class InfrastructureUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Michael Young

Constructor Summary
InfrastructureUtil()
           
 
Method Summary
static javax.sql.DataSource getDataSource()
           
static java.lang.Object getDynamicDataSourceTargetSource()
           
static javax.mail.Session getMailSession()
           
 void setDataSource(javax.sql.DataSource dataSource)
           
 void setDynamicDataSourceTargetSource(java.lang.Object dynamicDataSourceTargetSource)
           
 void setMailSession(javax.mail.Session mailSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfrastructureUtil

public InfrastructureUtil()
Method Detail

getDataSource

public static javax.sql.DataSource getDataSource()

getDynamicDataSourceTargetSource

public static java.lang.Object getDynamicDataSourceTargetSource()

getMailSession

public static javax.mail.Session getMailSession()

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)

setDynamicDataSourceTargetSource

public void setDynamicDataSourceTargetSource(java.lang.Object dynamicDataSourceTargetSource)

setMailSession

public void setMailSession(javax.mail.Session mailSession)