|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.arjuna.wst11.stub.ParticipantStub
public class ParticipantStub
| Constructor Summary | |
|---|---|
ParticipantStub(String id,
boolean durable,
W3CEndpointReference twoPCParticipant)
|
|
| Method Summary | |
|---|---|
void |
commit()
The participant should make permanent the work that it controls. |
void |
error()
During recovery the participant can enquire as to the status of the transaction it was registered with. |
Vote |
prepare()
Perform any work necessary to allow it to either commit or rollback the work performed by the Web service under the scope of the transaction. |
boolean |
restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)
Restore the state of the particpant from the specified input object stream. |
void |
rollback()
The participant should undo the work that it controls. |
boolean |
saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)
Save the state of the particpant to the specified input object stream. |
void |
unknown()
During recovery the participant can enquire as to the status of the transaction it was registered with. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticipantStub(String id,
boolean durable,
W3CEndpointReference twoPCParticipant)
throws Exception
Exception| Method Detail |
|---|
public Vote prepare()
throws WrongStateException,
SystemException
Participant
prepare in interface ParticipantWrongStateException
SystemExceptionVote
public void commit()
throws WrongStateException,
SystemException
Participant
commit in interface ParticipantWrongStateException
SystemException
public void rollback()
throws WrongStateException,
SystemException
Participant
rollback in interface ParticipantWrongStateException
SystemException
public void unknown()
throws SystemException
Participant
unknown in interface ParticipantSystemException
public void error()
throws SystemException
Participant
error in interface ParticipantSystemExceptionpublic boolean saveState(com.arjuna.ats.arjuna.state.OutputObjectState oos)
PersistableParticipant
saveState in interface PersistableParticipantoos - The output output stream.
public boolean restoreState(com.arjuna.ats.arjuna.state.InputObjectState ios)
PersistableParticipant
restoreState in interface PersistableParticipantios - The Input object stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||