|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.tx.at.internal.TransactionServicesImpl
public class TransactionServicesImpl
| Method Summary | |
|---|---|
void |
commit(byte[] tId)
Called by Participant endpoint to commit tx/subordinate branch |
Xid |
enlistResource(XAResource resource,
Xid xid)
Called by Registraion Service during register call in order to enlist WSAT XAResource (this is essentially the WSAT participant EPR wrapper that is serialized for recovery) and return branchqual in order to create RegisterResponseType |
byte[] |
getGlobalTransactionId()
The tx id of the tx on this thread |
static TransactionServices |
getInstance()
|
EndpointReference |
getParentReference(Xid xid)
Called from Participant service to get the Coordinator(PortType) for this Xid |
Xid |
importTransaction(int timeout,
byte[] tId)
Called by server tube (WSATServerHelper) to infect thread with tx |
String |
prepare(byte[] tId)
Called by Participant endpoint to prepare tx/subordinate branch |
void |
registerSynchronization(Synchronization synchronization,
Xid xid)
Called by Registration service to register a volatile participant |
void |
replayCompletion(String tId,
XAResource xaResource)
Called by Coordinator replay operation Bottom-up recovery call, as in JTS, a hint to resend |
void |
rollback(byte[] tId)
Called by Participant endpoint to prepare tx/subordinate branch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TransactionServices getInstance()
public byte[] getGlobalTransactionId()
TransactionServices
getGlobalTransactionId in interface TransactionServices
public Xid enlistResource(XAResource resource,
Xid xid)
throws WSATException
TransactionServices
enlistResource in interface TransactionServicesresource - (WSAT)XAResourcexid - Xid
WSATException - any error during enlist as WSAT GatewayRM
public void registerSynchronization(Synchronization synchronization,
Xid xid)
throws WSATException
TransactionServices
registerSynchronization in interface TransactionServicessynchronization - javax.transaction.Synchronizationxid - Xid
WSATException - wsatXAResource
public Xid importTransaction(int timeout,
byte[] tId)
throws WSATException
TransactionServices
importTransaction in interface TransactionServicestimeout - timeout/ttltId - byte[]
WSATException - wsatXAResource
public String prepare(byte[] tId)
throws WSATException
TransactionServices
prepare in interface TransactionServicestId - byte[]
WSATException - wsatXAResource
public void commit(byte[] tId)
throws WSATException
TransactionServices
commit in interface TransactionServicestId - byte[]
WSATException - wsatXAResource
public void rollback(byte[] tId)
throws WSATException
TransactionServices
rollback in interface TransactionServicestId - byte[]
WSATException - wsatXAResource
public void replayCompletion(String tId,
XAResource xaResource)
throws WSATException
TransactionServices
replayCompletion in interface TransactionServicestId - byte[]xaResource - (WSAT)XAResource
WSATException - wsatXAResourcepublic EndpointReference getParentReference(Xid xid)
TransactionServices
getParentReference in interface TransactionServicesxid - Xid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||