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 Summary
Constructors Constructor Description Coordinator(javax.xml.ws.WebServiceContext m_context, WSATVersion<T> m_version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortedOperation(T parameters)Aborted response Get Xid and update status in order to notify.voidcommittedOperation(T parameters)Committed response Get Xid and update status in order to notify.protected TransactionServicesgetTransactionServices()Return TransactionServicesImpl in order to issue replayCompletionprotected WSATHelpergetWSATHelper()Return the WSATHelper singletonvoidpreparedOperation(T parameters)Prepared response Get Xid and update status in order to notify.voidreadOnlyOperation(T parameters)ReadOnly response Get Xid and update status in order to notify.voidreplayOperation(T parameters)WS-AT 1.0 recovery operation Get Xid and issue replay
-
-
-
Constructor Detail
-
Coordinator
public Coordinator(javax.xml.ws.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:
preparedOperationin interfaceCoordinatorIF<T>- Parameters:
parameters- Notification
-
abortedOperation
public void abortedOperation(T parameters)
Aborted response Get Xid and update status in order to notify.- Specified by:
abortedOperationin interfaceCoordinatorIF<T>- Parameters:
parameters- Notification
-
readOnlyOperation
public void readOnlyOperation(T parameters)
ReadOnly response Get Xid and update status in order to notify.- Specified by:
readOnlyOperationin interfaceCoordinatorIF<T>- Parameters:
parameters- Notification
-
committedOperation
public void committedOperation(T parameters)
Committed response Get Xid and update status in order to notify.- Specified by:
committedOperationin interfaceCoordinatorIF<T>- Parameters:
parameters- Notification
-
replayOperation
public void replayOperation(T parameters)
WS-AT 1.0 recovery operation Get Xid and issue replay- Specified by:
replayOperationin interfaceCoordinatorIF<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
-
-