public class WSATHelper<T>
extends java.lang.Object
| Modifier and Type | Field | Description | 
|---|---|---|
static WSATHelper | 
V10 | 
|
static WSATHelper | 
V11 | 
| Modifier | Constructor | Description | 
|---|---|---|
protected  | 
WSATHelper() | 
| Modifier and Type | Method | Description | 
|---|---|---|
static java.lang.String | 
assignUUID() | 
|
void | 
beforeCompletion(javax.xml.ws.EndpointReference epr,
                javax.transaction.xa.Xid xid,
                WSATSynchronization wsatSynchronization) | 
 beforeCompletion call on volatile participant 
 | 
void | 
commit(javax.xml.ws.EndpointReference epr,
      javax.transaction.xa.Xid xid,
      WSATXAResource wsatXAResource) | 
 Unlike rollback, Xids are not added to the durable participant XAResource map during commit as prepare must always be
 called in WS-AT (there is no onePhase commit) and prepare must add the Xid to the map. 
 | 
void | 
debug(java.lang.String msg) | 
|
java.lang.String | 
getBQualFromWebServiceContextHeaderList(javax.xml.ws.WebServiceContext context) | 
 Called by Coordinator to get/create Xid 
 | 
java.lang.String | 
getCoordinatorAddress() | 
|
java.util.Map<WSATXAResource,weblogic.wsee.wstx.wsat.common.ParticipantIF<T>> | 
getDurableParticipantPortMap() | 
|
static WSATHelper | 
getInstance() | 
|
static WSATHelper | 
getInstance(weblogic.wsee.wstx.wsat.Transactional.Version version) | 
|
java.lang.String | 
getParticipantAddress() | 
|
java.lang.String | 
getRegistrationCoordinatorAddress() | 
|
java.lang.String | 
getRegistrationRequesterAddress() | 
|
java.lang.String | 
getRoutingAddress() | 
|
static TransactionServices | 
getTransactionServices() | 
 Return the TransactionServices
 See interface for details... 
 | 
java.util.Map<javax.transaction.xa.Xid,weblogic.wsee.wstx.wsat.common.ParticipantIF<T>> | 
getVolatileParticipantPortMap() | 
|
java.util.Map<javax.transaction.xa.Xid,WSATSynchronization> | 
getVolatileParticipantSynchronizationMap() | 
|
int | 
getWaitForReplyTimeout() | 
 Amount of time to wait for a reply from a prepare, rollback, commit, or beforeCompletion call before throwing
 the appropriate exception, errorcode, etc. 
 | 
java.lang.String | 
getWSATTidFromWebServiceContextHeaderList(javax.xml.ws.WebServiceContext context) | 
 Used by getXidFromWebServiceContextHeaderList in WSATHelper and replayOperation of Coordinator service 
 | 
WLXid | 
getXidFromWebServiceContextHeaderList(javax.xml.ws.WebServiceContext context) | 
 Given a WebServiceContext extract and return the WLS WS-AT transaction id and return the translated WLSXid 
 | 
static boolean | 
isDebugEnabled() | 
 Need to check if debug is enabled before all logging to prevent unnecessary object creation. 
 | 
void | 
prepare(javax.xml.ws.EndpointReference epr,
       javax.transaction.xa.Xid xid,
       WSATXAResource wsatXAResource) | 
 Get/create participant port and place it in the cache, issue prepare upon it, and place the WSATXAResource in the map. 
 | 
void | 
rollback(javax.xml.ws.EndpointReference epr,
        javax.transaction.xa.Xid xid,
        WSATXAResource wsatXAResource) | 
 Rollback can be called before or after prepare so we could do a state check here to avoid the
 redundant put in the latter case, but it is harmless to re-put and likely not a drastic performance concern. 
 | 
boolean | 
setDurableParticipantStatus(javax.transaction.xa.Xid xid,
                           java.lang.String status) | 
 Called by Coordinator in order to update status and unblock async/one-way calls made for durable participants 
 | 
public static final WSATHelper V10
public static final WSATHelper V11
public static WSATHelper getInstance()
public static WSATHelper getInstance(weblogic.wsee.wstx.wsat.Transactional.Version version)
public static TransactionServices getTransactionServices()
public int getWaitForReplyTimeout()
public boolean setDurableParticipantStatus(javax.transaction.xa.Xid xid,
                                           java.lang.String status)
xid - XIdstatus - Stringpublic void prepare(javax.xml.ws.EndpointReference epr,
                    javax.transaction.xa.Xid xid,
                    WSATXAResource wsatXAResource)
             throws javax.transaction.xa.XAException
epr - EndpointReference participant endpoint referencexid - Xid of transaction as obtained from WSATXAResourcewsatXAResource - WSATXAResourcejavax.transaction.xa.XAException - xaExceptionpublic void commit(javax.xml.ws.EndpointReference epr,
                   javax.transaction.xa.Xid xid,
                   WSATXAResource wsatXAResource)
            throws javax.transaction.xa.XAException
epr - EndpointReference participant endpoint referencexid - Xid of transaction as obtained from WSATXAResourcewsatXAResource - WSATXAResourcejavax.transaction.xa.XAException - xaExceptionpublic void rollback(javax.xml.ws.EndpointReference epr,
                     javax.transaction.xa.Xid xid,
                     WSATXAResource wsatXAResource)
              throws javax.transaction.xa.XAException
epr - EndpointReference participant endpoint referencexid - Xid of transaction as obtained from WSATXAResourcewsatXAResource - WSATXAResourcejavax.transaction.xa.XAException - xaExceptionpublic void beforeCompletion(javax.xml.ws.EndpointReference epr,
                             javax.transaction.xa.Xid xid,
                             WSATSynchronization wsatSynchronization)
                      throws javax.xml.soap.SOAPException
epr - EndpointReference participant endpoint referencexid - Xid of transactionwsatSynchronization - WSATSynchronizationjavax.xml.soap.SOAPException - soapExceptionpublic java.lang.String getRoutingAddress()
public java.lang.String getRegistrationCoordinatorAddress()
public java.lang.String getCoordinatorAddress()
public java.lang.String getParticipantAddress()
public java.lang.String getRegistrationRequesterAddress()
public WLXid getXidFromWebServiceContextHeaderList(javax.xml.ws.WebServiceContext context)
context - WebServiceContextpublic java.lang.String getWSATTidFromWebServiceContextHeaderList(javax.xml.ws.WebServiceContext context)
context - WebServiceContextpublic java.lang.String getBQualFromWebServiceContextHeaderList(javax.xml.ws.WebServiceContext context)
context - WebServiceContextpublic static boolean isDebugEnabled()
public java.util.Map<WSATXAResource,weblogic.wsee.wstx.wsat.common.ParticipantIF<T>> getDurableParticipantPortMap()
public java.util.Map<javax.transaction.xa.Xid,WSATSynchronization> getVolatileParticipantSynchronizationMap()
public java.util.Map<javax.transaction.xa.Xid,weblogic.wsee.wstx.wsat.common.ParticipantIF<T>> getVolatileParticipantPortMap()
public void debug(java.lang.String msg)
public static java.lang.String assignUUID()