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.Participant
com.arjuna.wst.WrongStateException
com.arjuna.wst.SystemException
Vote
public void commit() throws com.arjuna.wst.WrongStateException, com.arjuna.wst.SystemException
commit
in interface com.arjuna.wst.Participant
com.arjuna.wst.WrongStateException
com.arjuna.wst.SystemException
public void rollback() throws com.arjuna.wst.WrongStateException, com.arjuna.wst.SystemException
rollback
in interface com.arjuna.wst.Participant
com.arjuna.wst.WrongStateException
com.arjuna.wst.SystemException
public void unknown() throws com.arjuna.wst.SystemException
unknown
in interface com.arjuna.wst.Participant
com.arjuna.wst.SystemException
public void error() throws com.arjuna.wst.SystemException
error
in interface com.arjuna.wst.Participant
com.arjuna.wst.SystemException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.