|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.arjuna.wst11.messaging.engines.ParticipantEngine
public class ParticipantEngine
The participant state engine
| Constructor Summary | |
|---|---|
ParticipantEngine(Participant participant,
String id,
com.arjuna.webservices11.wsat.State state,
W3CEndpointReference coordinator,
boolean recovered)
Construct the engine for the participant in a specified state. |
|
ParticipantEngine(Participant participant,
String id,
W3CEndpointReference coordinator)
Construct the initial engine for the participant. |
|
| Method Summary | |
|---|---|
void |
commit(org.oasis_open.docs.ws_tx.wsat._2006._06.Notification commit,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the commit event. |
void |
earlyReadonly()
Handle the early readonly event. |
void |
earlyRollback()
Handle the early rollback event. |
W3CEndpointReference |
getCoordinator()
|
String |
getId()
Get the coordinator id. |
boolean |
isPersisted()
Is the participant persisted to disk? |
boolean |
isRecovered()
Is the participant recovered? |
void |
prepare(org.oasis_open.docs.ws_tx.wsat._2006._06.Notification prepare,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the prepare event. |
void |
recovery()
Handle the recovery event. |
void |
rollback(org.oasis_open.docs.ws_tx.wsat._2006._06.Notification rollback,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the rollback event. |
void |
soapFault(com.arjuna.webservices.SoapFault soapFault,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the soap fault event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticipantEngine(Participant participant,
String id,
W3CEndpointReference coordinator)
participant - The participant.id - The participant id.coordinator - The coordinator endpoint reference.
public ParticipantEngine(Participant participant,
String id,
com.arjuna.webservices11.wsat.State state,
W3CEndpointReference coordinator,
boolean recovered)
participant - The participant.id - The participant id.state - The initial state.coordinator - The coordinator endpoint reference.| Method Detail |
|---|
public void commit(org.oasis_open.docs.ws_tx.wsat._2006._06.Notification commit,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
commit in interface com.arjuna.webservices11.wsat.ParticipantInboundEventscommit - The commit notification.map - The addressing context.arjunaContext - The arjuna context.
None -> None (send committed)
Active -> Aborting (do nothing)
Preparing -> Aborting (do nothing)
PreparedSuccess -> Committing (initiate commit)
Committing -> Committing (do nothing)
Aborting -> Aborting (do nothing)
public void prepare(org.oasis_open.docs.ws_tx.wsat._2006._06.Notification prepare,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
prepare in interface com.arjuna.webservices11.wsat.ParticipantInboundEventsprepare - The prepare notification.map - The addressing context.arjunaContext - The arjuna context.
None -> None (send aborted)
Active -> Preparing (execute prepare)
Preparing -> Preparing (do nothing)
PreparedSuccess -> PreparedSuccess (resend prepared)
Committing -> Committing (ignore)
Aborting -> Aborting (send aborted and forget)
public void rollback(org.oasis_open.docs.ws_tx.wsat._2006._06.Notification rollback,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
rollback in interface com.arjuna.webservices11.wsat.ParticipantInboundEventsrollback - The rollback notification.map - The addressing context.arjunaContext - The arjuna context.
None -> None (send aborted)
Active -> Aborting (execute rollback, send aborted and forget)
Preparing -> Aborting (execute rollback, send aborted and forget)
PreparedSuccess -> Aborting (execute rollback, send aborted and forget)
Committing -> Committing (ignore)
Aborting -> Aborting (send aborted and forget)public void earlyRollback()
public void earlyReadonly()
public void recovery()
public void soapFault(com.arjuna.webservices.SoapFault soapFault,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
soapFault in interface com.arjuna.webservices11.wsat.ParticipantInboundEventssoapFault - The soap fault.map - The addressing context.arjunaContext - The arjuna context.public String getId()
public W3CEndpointReference getCoordinator()
getCoordinator in interface com.arjuna.webservices11.wsat.ParticipantInboundEventspublic boolean isPersisted()
public boolean isRecovered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||