public static interface TransactionEntityMap.TxAssociation
| Modifier and Type | Method and Description |
|---|---|
void |
invokeEjbStore(Thread thread,
CmpEntityBeanContext context)
Invokes ejbStore if needed
|
void |
scheduleSync(Transaction tx,
CmpEntityBeanContext context)
Schedules the instance for synchronization.
|
void |
synchronize(Thread thread,
Transaction tx,
CmpEntityBeanContext context)
Synchronizes the instance if it is needed.
|
void scheduleSync(Transaction tx, CmpEntityBeanContext context) throws SystemException, RollbackException
tx - the transaction the instance should be associated with if not yet associatedcontext - the instance to be scheduled for synchronizationSystemExceptionRollbackExceptionvoid synchronize(Thread thread, Transaction tx, CmpEntityBeanContext context) throws Exception
thread - current threadtx - current transactioncontext - the instance to be synchronizedException - thrown if synchronization failedvoid invokeEjbStore(Thread thread, CmpEntityBeanContext context) throws Exception
thread - current threadcontext - the instance to be synchronizedException - thrown if synchronization failedCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.