public class InfrastructureUtil
extends Object
Constructor and Description |
---|
InfrastructureUtil() |
Modifier and Type | Method and Description |
---|---|
static javax.sql.DataSource |
getDataSource() |
static DynamicDataSourceTargetSource |
getDynamicDataSourceTargetSource() |
static javax.mail.Session |
getMailSession() |
static Object |
getTransactionManager() |
void |
setDataSource(javax.sql.DataSource dataSource) |
void |
setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource) |
void |
setMailSession(javax.mail.Session mailSession) |
void |
setTransactionManager(Object transactionManager) |
public static javax.sql.DataSource getDataSource()
public static DynamicDataSourceTargetSource getDynamicDataSourceTargetSource()
public static javax.mail.Session getMailSession()
public static Object getTransactionManager()
public void setDataSource(javax.sql.DataSource dataSource)
public void setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource)
public void setMailSession(javax.mail.Session mailSession)
public void setTransactionManager(Object transactionManager)