|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.wst.messaging.engines.ParticipantEngine
The participant state engine
Constructor Summary | |
ParticipantEngine(com.arjuna.webservices.wsat.Participant participant)
Construct the initial engine for the participant. |
|
ParticipantEngine(com.arjuna.webservices.wsat.Participant participant,
com.arjuna.webservices.wsat.State state)
Construct the engine for the participant in a specified state. |
Method Summary | |
void |
commit(com.arjuna.webservices.wsat.NotificationType commit,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the commit event. |
void |
prepare(com.arjuna.webservices.wsat.NotificationType prepare,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the prepare event. |
void |
rollback(com.arjuna.webservices.wsat.NotificationType rollback,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the rollback event. |
void |
soapFault(com.arjuna.webservices.SoapFault soapFault,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.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(com.arjuna.webservices.wsat.Participant participant)
participant
- The participant.public ParticipantEngine(com.arjuna.webservices.wsat.Participant participant, com.arjuna.webservices.wsat.State state)
participant
- The participant.state
- The initial state.Method Detail |
public void commit(com.arjuna.webservices.wsat.NotificationType commit, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
commit
in interface com.arjuna.webservices.wsat.ParticipantInboundEvents
commit
- The commit notification.addressingContext
- 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(com.arjuna.webservices.wsat.NotificationType prepare, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
prepare
in interface com.arjuna.webservices.wsat.ParticipantInboundEvents
prepare
- The prepare notification.addressingContext
- 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(com.arjuna.webservices.wsat.NotificationType rollback, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
rollback
in interface com.arjuna.webservices.wsat.ParticipantInboundEvents
rollback
- The rollback notification.addressingContext
- 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 soapFault(com.arjuna.webservices.SoapFault soapFault, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
soapFault
in interface com.arjuna.webservices.wsat.ParticipantInboundEvents
soapFault
- The soap fault.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |