public class ContainerManagedServiceBeanBase extends ServiceBean
It also provides the functionality to automatically acquire and release a jdbc connection at start and end of a the transaction.
| Modifier and Type | Field and Description |
|---|---|
protected ContainerManagedTxnHandlerImpl |
mHandler |
mApplicationModule| Constructor and Description |
|---|
ContainerManagedServiceBeanBase() |
| Modifier and Type | Method and Description |
|---|---|
protected TransactionHandlerFactory |
createTransactionHandlerFactory() |
protected boolean |
isTransactionManagedByBean() |
protected void |
postChanges()
Posts the changes to the database when the transaction is about to be completed.
|
createApplicationModule, createApplicationModule, isJboBeanconnectToDataSource, createApplicationModule, createApplicationModule, createApplicationModuleInternal, disconnectFromDataSource, doMessage, ejbActivate, ejbPassivate, ejbRemove, getApplicationModule, getApplicationModuleDefName, getConfigurationName, getSessionContext, getTransactionTimeOut, postApplicationModuleCreate, removeApplicationModule, setApplicationModuleDefName, setClientEnv, setConfigurationName, setCurrentSessionContext, setSessionContext, useDataSourceprotected transient ContainerManagedTxnHandlerImpl mHandler
protected final boolean isTransactionManagedByBean()
isTransactionManagedByBean in class SessionBeanImplprotected void postChanges()
throws JboException
JboExceptionTransaction.postChanges()protected TransactionHandlerFactory createTransactionHandlerFactory()
createTransactionHandlerFactory in class ServiceBean