public class JNDIFactory extends Object implements TransactionFactoryInterface
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,Object> |
dsCache |
static String |
module |
protected static Map<String,ConnectionTracker> |
trackerCache |
| Constructor and Description |
|---|
JNDIFactory() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(String helperName) |
TransactionManager |
getTransactionManager() |
String |
getTxMgrName() |
UserTransaction |
getUserTransaction() |
void |
removeDatasource(String helperName)
Removes a datasource, and if necessary, shuts it down
|
public static final String module
protected static Map<String,ConnectionTracker> trackerCache
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 © 2015 Atlassian. All rights reserved.