Methods Summary |
---|
public CachedConnectionManager | getCachedConnectionManager()
return cachedConnectionManager;
|
public javax.transaction.TransactionManager | getTransactionManager()
return transactionManager;
|
public void | setCachedConnectionManager(CachedConnectionManager cachedConnectionManager)
this.cachedConnectionManager = cachedConnectionManager;
|
public void | setTransactionManager(javax.transaction.TransactionManager transactionManager)
this.transactionManager = transactionManager;
|
public void | start()
TransactionSynchronizer.setTransactionManager(transactionManager);
ServerVMClientUserTransaction.getSingleton().registerTxStartedListener(cachedConnectionManager);
EnterpriseContext.setUserTransactionStartedListener(cachedConnectionManager);
|
public void | stop()
ServerVMClientUserTransaction.getSingleton().unregisterTxStartedListener(cachedConnectionManager);
EnterpriseContext.setUserTransactionStartedListener(null);
|