|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.jaxws.GenericSOAPImportingTransactionManager
com.atomikos.icatch.jaxws.atomikos.SOAPImportingTransactionManagerImp
public class SOAPImportingTransactionManagerImp
A helper class to import an Atomikos transaction context contained in an incoming SOAP request message, and to add the necessary information to the corresponding reply when it goes out.
| Field Summary |
|---|
| Fields inherited from interface com.atomikos.icatch.jaxws.SOAPImportingTransactionManager |
|---|
PROPAGATION_MANDATORY, PROPAGATION_NEVER, PROPAGATION_NOT_SUPPORTED, PROPAGATION_REQUIRED, PROPAGATION_REQUIRES_NEW, PROPAGATION_SUPPORTS |
| Constructor Summary | |
|---|---|
SOAPImportingTransactionManagerImp()
|
|
| Method Summary | |
|---|---|
protected javax.xml.soap.SOAPHeaderElement |
findPropagationHeader(javax.xml.soap.SOAPMessage msg)
Finds a (protocol-specific) propagation header. |
protected CompositeTransaction |
importTransactionFromHeader(javax.xml.soap.SOAPHeaderElement header,
boolean orphanCheck,
boolean heurCommit)
Does the actual import |
protected void |
insertExtentHeader(javax.xml.soap.SOAPMessage msg,
String tid,
String parentTid,
String rootTid,
HeuristicMessage[] tags,
Hashtable table,
long timeout)
Inserts the appropriate extent header into the message. |
protected void |
removePropagationHeader(javax.xml.soap.SOAPMessage msg)
Removes the propagation header from the message. |
void |
setCreateJtaTransactions(boolean jta)
Sets whether or not new transactions are JTA transactions or not. |
boolean |
useJta()
|
| Methods inherited from class com.atomikos.icatch.jaxws.GenericSOAPImportingTransactionManager |
|---|
createNewTransaction, findTransaction, getParentTid, getProperties, importTransaction, setProperties, terminated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atomikos.icatch.jaxws.SOAPImportingTransactionManager |
|---|
importTransaction, terminated |
| Constructor Detail |
|---|
public SOAPImportingTransactionManagerImp()
| Method Detail |
|---|
public void setCreateJtaTransactions(boolean jta)
jta - public boolean useJta()
protected javax.xml.soap.SOAPHeaderElement findPropagationHeader(javax.xml.soap.SOAPMessage msg)
throws javax.xml.soap.SOAPException
GenericSOAPImportingTransactionManager
findPropagationHeader in class GenericSOAPImportingTransactionManagerjavax.xml.soap.SOAPExceptioncom.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#findPropagationHeader(javax.xml.soap.SOAPMessage)
protected CompositeTransaction importTransactionFromHeader(javax.xml.soap.SOAPHeaderElement header,
boolean orphanCheck,
boolean heurCommit)
throws javax.xml.ws.soap.SOAPFaultException,
javax.xml.soap.SOAPException
GenericSOAPImportingTransactionManager
importTransactionFromHeader in class GenericSOAPImportingTransactionManagerjavax.xml.ws.soap.SOAPFaultException
javax.xml.soap.SOAPExceptioncom.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#importTransactionFromHeader(javax.xml.soap.SOAPHeaderElement)
protected void removePropagationHeader(javax.xml.soap.SOAPMessage msg)
throws javax.xml.soap.SOAPException
GenericSOAPImportingTransactionManager
removePropagationHeader in class GenericSOAPImportingTransactionManagerjavax.xml.soap.SOAPExceptioncom.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#removePropagationHeader(javax.xml.soap.SOAPMessage)
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
GenericSOAPImportingTransactionManager
insertExtentHeader in class GenericSOAPImportingTransactionManagermsg - 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)
javax.xml.soap.SOAPExceptioncom.atomikos.icatch.jaxrpc.GenericSOAPImportingTransactionManager#insertExtentHeader(javax.xml.soap.SOAPMessage, java.lang.String, java.lang.String, com.atomikos.icatch.HeuristicMessage[], java.util.Hashtable, long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||