Package com.sun.xml.ws.tx.at
Class WSATSynchronization
- java.lang.Object
-
- com.sun.xml.ws.tx.at.WSATSynchronization
-
- All Implemented Interfaces:
Synchronization
public class WSATSynchronization extends Object implements Synchronization
Volatile WS-AT Participant
-
-
Constructor Summary
Constructors Constructor Description WSATSynchronization(Transactional.Version version, jakarta.xml.ws.EndpointReference epr, Xid xid)WSATSynchronization(jakarta.xml.ws.EndpointReference epr, Xid xid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCompletion(int status)This method is called by the transaction manager after the transaction is committed or rolled back.voidbeforeCompletion()The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process.booleanequals(Object obj)Equality check based on instanceof and Xid that identifies this XAResourceprotected voidfinalize()Prevents leaksvoidsetStatus(String status)
-
-
-
Constructor Detail
-
WSATSynchronization
public WSATSynchronization(jakarta.xml.ws.EndpointReference epr, Xid xid)
-
WSATSynchronization
public WSATSynchronization(Transactional.Version version, jakarta.xml.ws.EndpointReference epr, Xid xid)
-
-
Method Detail
-
setStatus
public void setStatus(String status)
-
beforeCompletion
public void beforeCompletion()
Description copied from interface:SynchronizationThe beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process. This call is executed with the transaction context of the transaction that is being committed.- Specified by:
beforeCompletionin interfaceSynchronization
-
afterCompletion
public void afterCompletion(int status)
Description copied from interface:SynchronizationThis method is called by the transaction manager after the transaction is committed or rolled back.- Specified by:
afterCompletionin interfaceSynchronization- Parameters:
status- The status of the transaction completion.
-
equals
public boolean equals(Object obj)
Equality check based on instanceof and Xid that identifies this XAResource
-
-