com.atomikos.icatch.jaxws.wsat
Class SOAPImportingTransactionManagerImp
java.lang.Object
com.atomikos.icatch.jaxws.GenericSOAPImportingTransactionManager
com.atomikos.icatch.jaxws.wsat.SOAPImportingTransactionManagerImp
- All Implemented Interfaces:
- SOAPImportingTransactionManager
public class SOAPImportingTransactionManagerImp
- extends GenericSOAPImportingTransactionManager
A helper class to import a WS-AtomicTransaction context
contained in an incoming SOAP request message, and to add
the necessary information to the corresponding
reply when it goes out.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPImportingTransactionManagerImp
public SOAPImportingTransactionManagerImp(long defaultTimeout)
findPropagationHeader
protected javax.xml.soap.SOAPHeaderElement findPropagationHeader(javax.xml.soap.SOAPMessage msg)
throws javax.xml.soap.SOAPException
- Description copied from class:
GenericSOAPImportingTransactionManager
- Finds a (protocol-specific) propagation header. This method merely
returns the header, without processing it.
- Specified by:
findPropagationHeader
in class GenericSOAPImportingTransactionManager
- Returns:
- The header, or null if no propagation is present.
- Throws:
javax.xml.soap.SOAPException
- See Also:
com.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#findPropagationHeader(javax.xml.soap.SOAPMessage)
importTransactionFromHeader
protected CompositeTransaction importTransactionFromHeader(javax.xml.soap.SOAPHeaderElement header,
boolean orphanCheck,
boolean heurCommit)
throws javax.xml.ws.soap.SOAPFaultException,
javax.xml.soap.SOAPException
- Description copied from class:
GenericSOAPImportingTransactionManager
- Does the actual import
- Specified by:
importTransactionFromHeader
in class GenericSOAPImportingTransactionManager
- Returns:
- The transaction as recreated from the header
- Throws:
javax.xml.ws.soap.SOAPFaultException
javax.xml.soap.SOAPException
- See Also:
com.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#importTransactionFromHeader(javax.xml.soap.SOAPHeaderElement)
removePropagationHeader
protected void removePropagationHeader(javax.xml.soap.SOAPMessage msg)
throws javax.xml.soap.SOAPException
- Description copied from class:
GenericSOAPImportingTransactionManager
- Removes the propagation header from the message.
- Specified by:
removePropagationHeader
in class GenericSOAPImportingTransactionManager
- Throws:
javax.xml.soap.SOAPException
- See Also:
com.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#removePropagationHeader(javax.xml.soap.SOAPMessage)
insertExtentHeader
protected void insertExtentHeader(javax.xml.soap.SOAPMessage msg,
String tid,
String parentTid,
String rootTid,
HeuristicMessage[] tags,
Hashtable table,
long timeout)
throws javax.xml.soap.SOAPException
- Description copied from class:
GenericSOAPImportingTransactionManager
- Inserts the appropriate extent header into the message.
- Specified by:
insertExtentHeader
in class GenericSOAPImportingTransactionManager
- Parameters:
msg
- The messagetid
- The local TID of the imported txparentTid
- The parent TID at the senderrootTid
- The root TIDtags
- The tagstable
- The count-> participant informationtimeout
- The timeout in millis to wait (if applicable)
- Throws:
javax.xml.soap.SOAPException
- See Also:
com.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#insertExtentHeader(javax.xml.soap.SOAPMessage, java.lang.String, java.lang.String, com.atomikos.icatch.HeuristicMessage[], java.util.Hashtable, long)
Copyright © 2012. All Rights Reserved.