|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionServices
Defines the interface between WS-AT and underlying transaction processing system
Method Summary | |
---|---|
void |
commit(byte[] tId)
Called by Participant endpoint to commit tx/subordinate branch |
byte[] |
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 |
int |
getExpires()
The tx timeout/ttl value |
byte[] |
getGlobalTransactionId()
The tx id of the tx on this thread |
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 |
Method Detail |
---|
byte[] getGlobalTransactionId()
byte[] enlistResource(XAResource resource, Xid xid) throws WSATException
resource
- (WSAT)XAResourcexid
- Xid
WSATException
- any error during enlist as WSAT GatewayRMvoid registerSynchronization(Synchronization synchronization, Xid xid) throws WSATException
synchronization
- javax.transaction.Synchronizationxid
- Xid
WSATException
- wsatXAResourceint getExpires()
Xid importTransaction(int timeout, byte[] tId) throws WSATException
timeout
- timeout/ttltId
- byte[]
WSATException
- wsatXAResourceString prepare(byte[] tId) throws WSATException
tId
- byte[]
WSATException
- wsatXAResourcevoid commit(byte[] tId) throws WSATException
tId
- byte[]
WSATException
- wsatXAResourcevoid rollback(byte[] tId) throws WSATException
tId
- byte[]
WSATException
- wsatXAResourcevoid replayCompletion(String tId, XAResource xaResource) throws WSATException
tId
- byte[]xaResource
- (WSAT)XAResource
WSATException
- wsatXAResourceEndpointReference getParentReference(Xid xid)
xid
- Xid
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |