public class ContainerManagedServiceBean extends ContainerManagedServiceBeanBase implements javax.ejb.SessionSynchronization
It also provides the functionality to automatically acquire and release a jdbc connection at start and end of a the transaction.
mHandlermApplicationModule| Constructor and Description | 
|---|
ContainerManagedServiceBean()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterBegin()
Implementation of the SessionSynchronization interface. 
 | 
void | 
afterCompletion(boolean committed)
Implementation of the SessionSynchronization interface. 
 | 
void | 
beforeCompletion()
Implementation of the SessionSynchronization interface. 
 | 
createTransactionHandlerFactory, isTransactionManagedByBean, postChangescreateApplicationModule, createApplicationModule, isJboBeanconnectToDataSource, createApplicationModule, createApplicationModule, createApplicationModuleInternal, disconnectFromDataSource, doMessage, ejbActivate, ejbPassivate, ejbRemove, getApplicationModule, getApplicationModuleDefName, getConfigurationName, getSessionContext, getTransactionTimeOut, postApplicationModuleCreate, removeApplicationModule, setApplicationModuleDefName, setClientEnv, setConfigurationName, setCurrentSessionContext, setSessionContext, useDataSourcepublic void afterBegin()
                throws javax.ejb.EJBException
connectToDataSource for acquiring the jdbc connection.afterBegin in interface javax.ejb.SessionSynchronizationjavax.ejb.EJBExceptionpublic void beforeCompletion()
                      throws javax.ejb.EJBException
postChanges.
  If a JboException is thrown by postChanges the transaction is marked for rollback and  
  the exception is wrapped in java.rmi.RemoteException. 
  The RemoteException is then thrown back to the container.beforeCompletion in interface javax.ejb.SessionSynchronizationjavax.ejb.EJBExceptionTransaction.postChanges()public void afterCompletion(boolean committed)
                     throws javax.ejb.EJBException
disconnectFromDataSource 
  for releasing the jdbc connection.afterCompletion in interface javax.ejb.SessionSynchronizationjavax.ejb.EJBException