Package com.arjuna.wst11.messaging
Class TerminationCoordinatorProcessorImpl
java.lang.Object
com.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
com.arjuna.wst11.messaging.TerminationCoordinatorProcessorImpl
public class TerminationCoordinatorProcessorImpl
extends com.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
The Terminator Participant processor.
- Author:
- kevin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateParticipant
(BusinessActivityTerminator participant, String identifier) Activate the participant.void
cancel
(com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType cancel, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) Cancel.void
close
(com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType close, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) Close.void
complete
(com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType complete, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) Complete.void
deactivateParticipant
(BusinessActivityTerminator participant) Deactivate the participant.getParticipant
(com.arjuna.webservices11.wsarj.InstanceIdentifier instanceIdentifier) Get the participant with the specified identifier.void
soapFault
(com.arjuna.webservices.SoapFault soapFault, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) handle a soap fault sent by the participant.Methods inherited from class com.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
getProcessor, setProcessor
-
Constructor Details
-
TerminationCoordinatorProcessorImpl
public TerminationCoordinatorProcessorImpl()
-
-
Method Details
-
activateParticipant
Activate the participant.- Specified by:
activateParticipant
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
participant
- The participant.identifier
- The identifier.
-
deactivateParticipant
Deactivate the participant.- Specified by:
deactivateParticipant
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
participant
- The participant.
-
getParticipant
public BusinessActivityTerminator getParticipant(com.arjuna.webservices11.wsarj.InstanceIdentifier instanceIdentifier) Get the participant with the specified identifier.- Specified by:
getParticipant
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
instanceIdentifier
- The participant identifier.- Returns:
- The participant or null if not known.
-
cancel
public void cancel(com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType cancel, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) Cancel.- Specified by:
cancel
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
cancel
- The cancel notification.map
- The addressing context.arjunaContext
- The arjuna context.
-
close
public void close(com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType close, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) Close.- Specified by:
close
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
close
- The close notification.map
- The addressing context.arjunaContext
- The arjuna context.
-
complete
public void complete(com.arjuna.schemas.ws._2005._10.wsarjtx.NotificationType complete, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) Complete.- Specified by:
complete
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
complete
- The complete notification.map
- The addressing context.arjunaContext
- The arjuna context.
-
soapFault
public void soapFault(com.arjuna.webservices.SoapFault soapFault, org.jboss.ws.api.addressing.MAP map, com.arjuna.webservices11.wsarj.ArjunaContext arjunaContext) handle a soap fault sent by the participant. kev's code just prints a log message?- Specified by:
soapFault
in classcom.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
- Parameters:
soapFault
- The soap faultmap
- The addressing context.arjunaContext
- The arjuna context.
-