public class BridgeVolatileParticipant extends Object implements com.arjuna.wst.Volatile2PCParticipant
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Perform afterCompletion cleanup activities such as releasing resources.
|
void |
error()
VolatileParticipants don't support recovery, so this should never be called.
|
com.arjuna.wst.Vote |
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.
|
public com.arjuna.wst.Vote prepare()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
prepare in interface com.arjuna.wst.Participantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionVotepublic void commit()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
commit in interface com.arjuna.wst.Participantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void rollback()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
rollback in interface com.arjuna.wst.Participantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void unknown()
throws com.arjuna.wst.SystemException
unknown in interface com.arjuna.wst.Participantcom.arjuna.wst.SystemExceptionpublic void error()
throws com.arjuna.wst.SystemException
error in interface com.arjuna.wst.Participantcom.arjuna.wst.SystemExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.