|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.wst.messaging.engines.ParticipantCompletionParticipantEngine
The participant completion participant state engine
Constructor Summary | |
ParticipantCompletionParticipantEngine(java.lang.String id,
com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator,
BusinessAgreementWithParticipantCompletionParticipant participant)
Construct the initial engine for the participant. |
|
ParticipantCompletionParticipantEngine(java.lang.String id,
com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator,
BusinessAgreementWithParticipantCompletionParticipant 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. |
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. |
BusinessAgreementWithParticipantCompletionParticipant |
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 ParticipantCompletionParticipantEngine(java.lang.String id, com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator, BusinessAgreementWithParticipantCompletionParticipant participant)
id
- The participant id.coordinator
- The coordinator endpoint reference.participant
- The participant.public ParticipantCompletionParticipantEngine(java.lang.String id, com.arjuna.webservices.wsaddr.EndpointReferenceType coordinator, BusinessAgreementWithParticipantCompletionParticipant 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.ParticipantCompletionParticipantInboundEvents
cancel
- The cancel notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Canceling
Canceling -> 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.ParticipantCompletionParticipantInboundEvents
close
- The close notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (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.ParticipantCompletionParticipantInboundEvents
compensate
- The compensate notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (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 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.ParticipantCompletionParticipantInboundEvents
exited
- The exited notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (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.ParticipantCompletionParticipantInboundEvents
faulted
- The faulted notification.addressingContext
- The addressing context.arjunaContext
- The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (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.ParticipantCompletionParticipantInboundEvents
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.ParticipantCompletionParticipantInboundEvents
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.ParticipantCompletionParticipantInboundEvents
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 BusinessAgreementWithParticipantCompletionParticipant getParticipant()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |