|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
PoolType - the type of PoolClue - the clue keypublic interface EZBStatefulSessionFactory<PoolType,Clue>
Interface for Stateful session factory.
| Method Summary | |
|---|---|
void |
addExtendedPersistenceContext(EasyBeansSFSB statefulSessionBean,
EZBExtendedEntityManager extendedEntityManager)
Adds the given extended persistence context for the given stateful session bean. |
List<EZBExtendedEntityManager> |
getExtendedPersistenceContexts(EasyBeansSFSB statefulSessionBean)
Gets the extended persistence context registered for the given stateful session bean. |
Synchronization |
getSessionSynchronizationListener(Transaction tx)
Gets the current session synchronization listener on the given transaction if any. |
void |
setSessionSynchronizationListener(Transaction tx,
Synchronization sessionSynchronizationListener)
Sets the current session synchronization listener on the given transaction. |
void |
unsetSessionSynchronizationListener(Transaction tx)
Unsets the current session synchronization listener on the given transaction. |
| Methods inherited from interface org.ow2.easybeans.api.Factory |
|---|
getBeanInfo, getClassName, getContainer, getContextDataThreadLocal, getId, getInvocationContextFactory, getJavaContext, getOperationState, getOperationStateThreadLocal, getPool, getTimerService, init, localCall, notifyTimeout, rpcInvoke, setInvocationContextFactory, setJavaContext, start, stop |
| Methods inherited from interface org.ow2.easybeans.api.EZBJ2EEManagedObject |
|---|
getComponent, getJ2EEManagedObjectId |
| Method Detail |
|---|
Synchronization getSessionSynchronizationListener(Transaction tx)
tx - the given transaction
void setSessionSynchronizationListener(Transaction tx,
Synchronization sessionSynchronizationListener)
tx - the given transactionsessionSynchronizationListener - the session synchronization listenervoid unsetSessionSynchronizationListener(Transaction tx)
tx - the given transactionList<EZBExtendedEntityManager> getExtendedPersistenceContexts(EasyBeansSFSB statefulSessionBean)
statefulSessionBean - the given bean
void addExtendedPersistenceContext(EasyBeansSFSB statefulSessionBean,
EZBExtendedEntityManager extendedEntityManager)
statefulSessionBean - the given beanextendedEntityManager - the given extended persistence context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||