public interface ContextRecovery
TransactionParticipant
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
recover(long id,
java.io.Serializable context,
boolean commit)
Give participant the chance to "activate" a previously
persisted context.
|
java.io.Serializable recover(long id, java.io.Serializable context, boolean commit)
id
- the Transaction identifiercontext
- transaction context (as persisted by TransactionManager)commit
- true if transaction is committing