|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | 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(java.lang.Thread thread,
EntityEnterpriseContext (src) instance)
Invokes ejbStore if needed |
void |
scheduleSync(Transaction (src) tx,
EntityEnterpriseContext (src) instance)
Schedules the instance for synchronization. |
void |
synchronize(java.lang.Thread thread,
Transaction (src) tx,
EntityEnterpriseContext (src) instance)
Synchronizes the instance if it is needed. |
| Method Detail |
public void scheduleSync(Transaction (src) tx,
EntityEnterpriseContext (src) instance)
throws SystemException (src) ,
RollbackException (src)
tx - the transaction the instance should be associated with if not yet associatedinstance - the instance to be scheduled for synchronization
SystemException (src)
RollbackException (src)
public void synchronize(java.lang.Thread thread,
Transaction (src) tx,
EntityEnterpriseContext (src) instance)
throws java.lang.Exception
thread - current threadtx - current transactioninstance - the instance to be synchronized
java.lang.Exception - thrown if synchronization failed
public void invokeEjbStore(java.lang.Thread thread,
EntityEnterpriseContext (src) instance)
throws java.lang.Exception
thread - current threadinstance - the instance to be synchronized
java.lang.Exception - thrown if synchronization failed
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||