public class ParticipantCompletionParticipantEngine extends Object implements com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEvents
| Constructor and Description |
|---|
ParticipantCompletionParticipantEngine(String id,
W3CEndpointReference coordinator,
BusinessAgreementWithParticipantCompletionParticipant participant)
Construct the initial engine for the participant.
|
ParticipantCompletionParticipantEngine(String id,
W3CEndpointReference coordinator,
BusinessAgreementWithParticipantCompletionParticipant participant,
com.arjuna.webservices11.wsba.State state,
boolean recovered)
Construct the engine for the participant in a specified state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType cancel,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the cancel event.
|
com.arjuna.webservices11.wsba.State |
cannotComplete()
Handle the cannot complete event.
|
void |
close(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType close,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the close event.
|
void |
compensate(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType compensate,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the compensate event.
|
com.arjuna.webservices11.wsba.State |
completed()
Handle the completed event.
|
com.arjuna.webservices11.wsba.State |
exit()
Handle the exit event.
|
void |
exited(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType exited,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the exited event.
|
com.arjuna.webservices11.wsba.State |
fail(QName exceptionIdentifier)
Handle the fail event.
|
void |
failed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType failed,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the failed event.
|
W3CEndpointReference |
getCoordinator()
Get the coordinator endpoint reference
|
String |
getId()
Get the coordinator id.
|
BusinessAgreementWithParticipantCompletionParticipant |
getParticipant()
Get the associated participant.
|
void |
getStatus(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType getStatus,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the getStatus event.
|
boolean |
isRecovered()
check whether this participant's details have been recovered from the log
|
void |
notCompleted(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType notCompleted,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the not completed event.
|
void |
recovery()
Handle the recovery 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.
|
void |
status(org.oasis_open.docs.ws_tx.wsba._2006._06.StatusType status,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
Handle the status event.
|
public ParticipantCompletionParticipantEngine(String id, W3CEndpointReference coordinator, BusinessAgreementWithParticipantCompletionParticipant participant)
id - The participant id.coordinator - The coordinator endpoint reference.participant - The participant.public ParticipantCompletionParticipantEngine(String id, W3CEndpointReference coordinator, BusinessAgreementWithParticipantCompletionParticipant participant, com.arjuna.webservices11.wsba.State state, boolean recovered)
id - The participant id.coordinator - The coordinator endpoint reference.participant - The participant.state - The initial state.recovered - true if the engine has been recovered from th elog otherwise falsepublic void cancel(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType cancel,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
cancel in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventscancel - The cancel notification.map - The addressing context.arjunaContext - The arjuna context.
Active -> Canceling
Canceling -> Canceling
Completed -> Completed (resend Completed)
Closing -> Closing
Compensating -> Compensating
Failing-Active -> Failing-Active (resend Fail)
Failing-Canceling -> Failing-Canceling (resend Fail)
Failing-Compensating -> Failing-Compensating
NotCompleting -> NotCompleting (resend CannotComplete)
Exiting -> Exiting (resend Exit)
Ended -> Ended (resend Cancelled)public void close(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType close,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
close in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventsclose - The close notification.map - The addressing context.arjunaContext - The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (invalid state)
Completed -> Closing
Closing -> Closing
Compensating -> Compensating (invalid state)
Failing-Active -> Failing-Active (invalid state)
Failing-Canceling -> Failing-Canceling (invalid state)
Failing-Compensating -> Failing-Compensating (invalid state)
NotCompleting -> NotCompleting (invalid state)
Exiting -> Exiting (invalid state)
Ended -> Ended (send Closed)public void compensate(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType compensate,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
compensate in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventscompensate - The compensate notification.map - The addressing context.arjunaContext - The arjuna context.
Active -> Active (invalid state)
Canceling -> Canceling (invalid state)
Completed -> Compensating
Closing -> Closing (invalid state)
Compensating -> Compensating
Failing-Active -> Failing-Active (invalid state)
Failing-Canceling -> Failing-Canceling (invalid state)
Failing-Compensating -> Failing-Compensating (resend Fail)
NotCompleting -> NotCompleting (invalid state)
Exiting -> Exiting (invalid state)
Ended -> Ended (send Compensated)public void exited(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType exited,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
exited in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventsexited - The exited notification.map - 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)
Failing-Active -> Failing-Active (invalid state)
Failing-Canceling -> Failing-Canceling (invalid state)
Failing-Compensating -> Failing-Compensating (invalid state)
NotCompleting -> NotCompleting (invalid state)
Exiting -> Ended
Ended -> Endedpublic void failed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType failed,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
failed in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventsfailed - The failed notification.map - 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)
Failing-Active -> Ended
Failing-Canceling -> Ended
Failing-Compensating -> Ended
NotCompleting -> NotCompleting (invalid state)
Exiting -> Exiting (invalid state)
Ended -> Endedpublic void notCompleted(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType notCompleted,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
notCompleted in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventsnotCompleted - The notCompleted notification.map - 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)
Failing-Active -> Failing-Active (invalid state)
Failing-Canceling -> Failing-Canceling (invalid state)
Failing-Compensating -> Failing-Compensating (invalid state)
NotCompleting -> Ended
Exiting -> Exiting (invalid state)
Ended -> Endedpublic void getStatus(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType getStatus,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
getStatus in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventsgetStatus - The getStatus notification.map - The addressing context.arjunaContext - The arjuna context.public void status(org.oasis_open.docs.ws_tx.wsba._2006._06.StatusType status,
org.jboss.ws.api.addressing.MAP map,
com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext)
status in interface com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEventsstatus - The status type.map - The addressing context.arjunaContext - The arjuna context.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.wsba.ParticipantCompletionParticipantInboundEventssoapFault - The soap fault.map - The addressing context.arjunaContext - The arjuna context.public com.arjuna.webservices11.wsba.State completed()
public com.arjuna.webservices11.wsba.State exit()
public com.arjuna.webservices11.wsba.State fail(QName exceptionIdentifier)
public com.arjuna.webservices11.wsba.State cannotComplete()
public String getId()
public W3CEndpointReference getCoordinator()
public BusinessAgreementWithParticipantCompletionParticipant getParticipant()
public boolean isRecovered()
Copyright © 2013. All rights reserved.