Class Coordinator<T>

java.lang.Object
com.sun.xml.ws.tx.at.common.endpoint.Coordinator<T>
All Implemented Interfaces:
CoordinatorIF<T>

public class Coordinator<T> extends Object implements CoordinatorIF<T>
This is the common implementation for wsat10 and wsat11 Coordinators endpoints.
  • Constructor Details

    • Coordinator

      public Coordinator(javax.xml.ws.WebServiceContext m_context, WSATVersion<T> m_version)
  • Method Details

    • preparedOperation

      public void preparedOperation(T parameters)
      Prepared response Get Xid and update status in order to notify. If Xid does not exist this must be a recovery call
      Specified by:
      preparedOperation in interface CoordinatorIF<T>
      Parameters:
      parameters - Notification
    • abortedOperation

      public void abortedOperation(T parameters)
      Aborted response Get Xid and update status in order to notify.
      Specified by:
      abortedOperation in interface CoordinatorIF<T>
      Parameters:
      parameters - Notification
    • readOnlyOperation

      public void readOnlyOperation(T parameters)
      ReadOnly response Get Xid and update status in order to notify.
      Specified by:
      readOnlyOperation in interface CoordinatorIF<T>
      Parameters:
      parameters - Notification
    • committedOperation

      public void committedOperation(T parameters)
      Committed response Get Xid and update status in order to notify.
      Specified by:
      committedOperation in interface CoordinatorIF<T>
      Parameters:
      parameters - Notification
    • replayOperation

      public void replayOperation(T parameters)
      WS-AT 1.0 recovery operation Get Xid and issue replay
      Specified by:
      replayOperation in interface CoordinatorIF<T>
      Parameters:
      parameters - Notification
    • getTransactionServices

      protected TransactionServices getTransactionServices()
      Return TransactionServicesImpl in order to issue replayCompletion
      Returns:
      TransactionServices
    • getWSATHelper

      protected WSATHelper getWSATHelper()
      Return the WSATHelper singleton
      Returns:
      WSATHelper for version