|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance can be in one of the three states:
Method Summary | |
void |
invokeEjbStore(Thread thread,
EntityEnterpriseContext instance)
Invokes ejbStore if needed |
void |
scheduleSync(Transaction tx,
EntityEnterpriseContext instance)
Schedules the instance for synchronization. |
void |
synchronize(Thread thread,
Transaction tx,
EntityEnterpriseContext instance)
Synchronizes the instance if it is needed. |
Method Detail |
public void scheduleSync(Transaction tx, EntityEnterpriseContext instance) throws SystemException, RollbackException
tx
- the transaction the instance should be associated with if not yet associatedinstance
- the instance to be scheduled for synchronization
SystemException
RollbackException
public void synchronize(Thread thread, Transaction tx, EntityEnterpriseContext instance) throws Exception
thread
- current threadtx
- current transactioninstance
- the instance to be synchronized
Exception
- thrown if synchronization failedpublic void invokeEjbStore(Thread thread, EntityEnterpriseContext instance) throws Exception
thread
- current threadinstance
- the instance to be synchronized
Exception
- thrown if synchronization failed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |