|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.wst11.stub.SubordinateVolatile2PCStub
public class SubordinateVolatile2PCStub
A volatile participant registered on behalf of an interposed WS-AT coordinator in order to ensure that volatile participants in the subtransaction are prepared at the right time.
Constructor Summary | |
---|---|
SubordinateVolatile2PCStub(com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator coordinator)
|
Method Summary | |
---|---|
void |
commit()
this is called as part of the after completion processing and should ensure that the interposed coordinator performs its afterCompletion processing |
void |
error()
this should never get called |
Vote |
prepare()
This will be called when the parent coordinator is preparing its volatile participants and should ensure that the interposed cooordinator does the same. |
void |
rollback()
this is called as part of the after completion processing and should ensure that the interposed coordinator performs its afterCompletion processing |
void |
unknown()
this should never get called |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubordinateVolatile2PCStub(com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator coordinator)
Method Detail |
---|
public Vote prepare() throws WrongStateException, SystemException
prepare
in interface Participant
WrongStateException
- if the subordinate coordinator does the same
SystemException
- if the subordinate coordinator does the sameVote
public void commit() throws WrongStateException, SystemException
commit
in interface Participant
WrongStateException
SystemException
public void rollback() throws WrongStateException, SystemException
rollback
in interface Participant
WrongStateException
SystemException
public void unknown() throws SystemException
unknown
in interface Participant
SystemException
public void error() throws SystemException
error
in interface Participant
SystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |