public class TyrexFactory extends Object implements TransactionFactoryInterface
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DOMAIN_NAME |
protected static tyrex.tm.TransactionDomain |
td |
| Constructor and Description |
|---|
TyrexFactory() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(String helperName) |
static DataSource |
getDataSource(String dsName) |
static tyrex.resource.Resources |
getResources() |
TransactionManager |
getTransactionManager() |
String |
getTxMgrName() |
UserTransaction |
getUserTransaction() |
void |
removeDatasource(String helperName)
Removes a datasource, and if necessary, shuts it down
|
protected static tyrex.tm.TransactionDomain td
protected static String DOMAIN_NAME
public static tyrex.resource.Resources getResources()
public static DataSource getDataSource(String dsName)
public TransactionManager getTransactionManager()
getTransactionManager in interface TransactionFactoryInterfacepublic UserTransaction getUserTransaction()
getUserTransaction in interface TransactionFactoryInterfacepublic String getTxMgrName()
getTxMgrName in interface TransactionFactoryInterfacepublic Connection getConnection(String helperName) throws SQLException, GenericEntityException
getConnection in interface TransactionFactoryInterfaceSQLExceptionGenericEntityExceptionpublic void removeDatasource(String helperName)
TransactionFactoryInterfaceremoveDatasource in interface TransactionFactoryInterfacehelperName - The name of the datasource to removeCopyright © 2024 Atlassian. All rights reserved.