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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TerminationCoordinatorProcessorImpl

      public TerminationCoordinatorProcessorImpl()
  • Method Details

    • activateParticipant

      public void activateParticipant(BusinessActivityTerminator participant, String identifier)
      Activate the participant.
      Specified by:
      activateParticipant in class com.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
      Parameters:
      participant - The participant.
      identifier - The identifier.
    • deactivateParticipant

      public void deactivateParticipant(BusinessActivityTerminator participant)
      Deactivate the participant.
      Specified by:
      deactivateParticipant in class com.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 class com.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 class com.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 class com.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 class com.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 class com.arjuna.webservices11.wsarjtx.processors.TerminationCoordinatorProcessor
      Parameters:
      soapFault - The soap fault
      map - The addressing context.
      arjunaContext - The arjuna context.