com.sun.xml.ws.tx.at.common.endpoint
Class Coordinator<T>

java.lang.Object
  extended by 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 Summary
Coordinator(WebServiceContext m_context, WSATVersion<T> m_version)
           
 
Method Summary
 void abortedOperation(T parameters)
          Aborted response Get Xid and update status in order to notify.
 void committedOperation(T parameters)
          Committed response Get Xid and update status in order to notify.
protected  TransactionServices getTransactionServices()
          Return TransactionServicesImpl in order to issue replayCompletion
protected  WSATHelper getWSATHelper()
          Return the WSATHelper singleton
 void preparedOperation(T parameters)
          Prepared response Get Xid and update status in order to notify.
 void readOnlyOperation(T parameters)
          ReadOnly response Get Xid and update status in order to notify.
 void replayOperation(T parameters)
          WS-AT 1.0 recovery operation Get Xid and issue replay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coordinator

public Coordinator(WebServiceContext m_context,
                   WSATVersion<T> m_version)
Method Detail

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.