|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.wst.messaging.engines.CoordinatorCompletionParticipantEngine
The coordinator completion participant state engine
Constructor Summary | |
CoordinatorCompletionParticipantEngine(java.lang.String id,
com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator,
BusinessAgreementWithCoordinatorCompletionParticipant participant)
Construct the initial engine for the participant. |
|
CoordinatorCompletionParticipantEngine(java.lang.String id,
com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator,
BusinessAgreementWithCoordinatorCompletionParticipant participant,
com.arjuna.webservices.wsba.State state)
Construct the engine for the participant in a specified state. |
Method Summary | |
void |
cancel(com.arjuna.webservices.wsba.NotificationType cancel,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the cancel event. |
void |
close(com.arjuna.webservices.wsba.NotificationType close,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the close event. |
void |
compensate(com.arjuna.webservices.wsba.NotificationType compensate,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the compensate event. |
void |
complete(com.arjuna.webservices.wsba.NotificationType complete,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the complete event. |
com.arjuna.webservices.wsba.State |
completed()
Handle the completed event. |
com.arjuna.webservices.wsba.State |
exit()
Handle the exit event. |
void |
exited(com.arjuna.webservices.wsba.NotificationType exited,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the exited event. |
com.arjuna.webservices.wsba.State |
fault()
Handle the fault event. |
void |
faulted(com.arjuna.webservices.wsba.NotificationType faulted,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the faulted event. |
com.arjuna.webservices.wsaddr.EndpointReferenceType |
getCoordinator()
Get the coordinator endpoint reference |
java.lang.String |
getId()
Get the coordinator id. |
BusinessAgreementWithCoordinatorCompletionParticipant |
getParticipant()
Get the associated participant. |
void |
getStatus(com.arjuna.webservices.wsba.NotificationType getStatus,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the getStatus 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. |
void |
status(com.arjuna.webservices.wsba.StatusType status,
com.arjuna.webservices.wsaddr.AddressingContext addressingContext,
com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
Handle the status event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CoordinatorCompletionParticipantEngine(java.lang.String id, com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator, BusinessAgreementWithCoordinatorCompletionParticipant participant)
id
- The participant id.coordinator
- The coordinator endpoint reference.participant
- The participant.public CoordinatorCompletionParticipantEngine(java.lang.String id, com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator, BusinessAgreementWithCoordinatorCompletionParticipant participant, com.arjuna.webservices.wsba.State state)
id
- The participant id.coordinator
- The coordinator endpoint reference.participant
- The participant.state
- The initial state.Method Detail |
public void cancel(com.arjuna.webservices.wsba.NotificationType cancel, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
cancel
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
cancel
- The cancel notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Canceling
Canceling -> Canceling
Completing -> Canceling
Completed -> Completed (resend Completed)
Closing -> Closing
Compensating -> Compensating
Faulting -> Faulting
Faulting-Active -> Faulting (resend Fault)
Faulting-Compensating -> Faulting
Exiting -> Exiting (resend Exit)
Ended -> Ended (resend Cancelled)public void close(com.arjuna.webservices.wsba.NotificationType close, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
close
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
close
- The close notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (invalid state)
Completing -> Completing (invalid state)
Completed -> Closing
Closing -> Closing
Compensating -> Compensating (invalid state)
Faulting -> Faulting (invalid state)
Faulting-Active -> Faulting (invalid state)
Faulting-Compensating -> Faulting (invalid state)
Exiting -> Exiting (invalid state)
Ended -> Ended (send Closed)public void compensate(com.arjuna.webservices.wsba.NotificationType compensate, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
compensate
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
compensate
- The compensate notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (invalid state)
Completing -> Completing (invalid state)
Completed -> Compensating
Closing -> Closing (invalid state)
Compensating -> Compensating
Faulting -> Faulting (invalid state)
Faulting-Active -> Faulting (invalid state)
Faulting-Compensating -> Faulting (resend fault)
Exiting -> Exiting (invalid state)
Ended -> Ended (send compensated)public void complete(com.arjuna.webservices.wsba.NotificationType complete, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
complete
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
complete
- The complete notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Completing
Canceling -> Canceling
Completing -> Completing
Completed -> Completed (resend Completed)
Closing -> Closing
Compensating -> Compensating
Faulting -> Faulting
Faulting-Active -> Faulting (resend Fault)
Faulting-Compensating -> Faulting
Exiting -> Exiting (resend Exit)
Ended -> Endedpublic void exited(com.arjuna.webservices.wsba.NotificationType exited, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
exited
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
exited
- The exited notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (invalid state)
Completing -> Completing (invalid state)
Completed -> Completed (invalid state)
Closing -> Closing (invalid state)
Compensating -> Compensating (invalid state)
Faulting -> Faulting (invalid state)
Faulting-Active -> Faulting (invalid state)
Faulting-Compensating -> Faulting (invalid state)
Exiting -> Ended
Ended -> Endedpublic void faulted(com.arjuna.webservices.wsba.NotificationType faulted, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
faulted
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
faulted
- The faulted notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (invalid state)
Completing -> Completing (invalid state)
Completed -> Completed (invalid state)
Closing -> Closing (invalid state)
Compensating -> Compensating (invalid state)
Faulting -> Ended
Faulting-Active -> Ended
Faulting-Compensating -> Ended
Exiting -> Exiting (invalid state)
Ended -> Endedpublic void getStatus(com.arjuna.webservices.wsba.NotificationType getStatus, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
getStatus
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
getStatus
- The getStatus notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.public void status(com.arjuna.webservices.wsba.StatusType status, com.arjuna.webservices.wsaddr.AddressingContext addressingContext, com.arjuna.webservices.wsarj.ArjunaContext arjunaContext)
status
in interface com.arjuna.webservices.wsba.CoordinatorCompletionParticipantInboundEvents
status
- The status type.addressingContext
- The addressing context.arjunaContext
- The arjuna context.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.wsba.CoordinatorCompletionParticipantInboundEvents
soapFault
- The soap fault.addressingContext
- The addressing context.arjunaContext
- The arjuna context.public com.arjuna.webservices.wsba.State completed()
public com.arjuna.webservices.wsba.State exit()
public com.arjuna.webservices.wsba.State fault()
public java.lang.String getId()
public com.arjuna.webservices.wsaddr.EndpointReferenceType getCoordinator()
public BusinessAgreementWithCoordinatorCompletionParticipant getParticipant()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |