|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SynchronizationOperations
The Transaction Service provides a synchronization protocol which enables an object with transient state data that relies on an X/Open XA conformant Resource Manager for ensuring that data is made persistent, to be notified before the start of the two-phase commitment protocol, and after its completion. An object with transient state data that relies on a Resource object for ensuring that data is made persistent can also make use of this protocol, provided that both objects are registered with the same Coordinator. Each object supporting the Synchronization interface is implicitly associated with a single top-level transaction.
Method Summary | |
---|---|
void |
after_completion(Status status)
This operation is invoked after all commit or rollback responses have been received by this coordinator. |
void |
before_completion()
This operation is invoked prior to the start of the two-phase commit protocol within the coordinator the Synchronization has registered with. |
Method Detail |
---|
void before_completion()
void after_completion(Status status)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |