Class BridgeVolatileParticipant
java.lang.Object
org.jboss.jbossts.txbridge.inbound.BridgeVolatileParticipant
- All Implemented Interfaces:
Participant
,Volatile2PCParticipant
Provides method call mapping between WS-AT Volatile Participant interface
and an underlying JTA subtransaction coordinator.
- Author:
- jonathan.halliday@redhat.com, 2009-06-01
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
Perform afterCompletion cleanup activities such as releasing resources.void
error()
VolatileParticipants don't support recovery, so this should never be called.prepare()
Perform beforeCompletion activities such as flushing cached state to stable store.void
rollback()
Perform afterCompletion cleanup activities such as releasing resources.void
unknown()
Deprecated, should never be called.
-
Method Details
-
prepare
Perform beforeCompletion activities such as flushing cached state to stable store.- Specified by:
prepare
in interfaceParticipant
- Returns:
- an indication of whether it can prepare or not.
- Throws:
WrongStateException
SystemException
- See Also:
-
commit
Perform afterCompletion cleanup activities such as releasing resources. Caution: may not be invoked in crash recovery situations.- Specified by:
commit
in interfaceParticipant
- Throws:
WrongStateException
SystemException
-
rollback
Perform afterCompletion cleanup activities such as releasing resources. Caution: may not be invoked in crash recovery situations.- Specified by:
rollback
in interfaceParticipant
- Throws:
WrongStateException
SystemException
-
unknown
Deprecated, should never be called.- Specified by:
unknown
in interfaceParticipant
- Throws:
SystemException
-
error
VolatileParticipants don't support recovery, so this should never be called.- Specified by:
error
in interfaceParticipant
- Throws:
SystemException
-