com.atomikos.icatch.jaxws.wsat
Class ImportingTransactionHandler
java.lang.Object
com.atomikos.icatch.jaxws.GenericImportingTransactionHandler
com.atomikos.icatch.jaxws.wsat.ImportingTransactionHandler
- All Implemented Interfaces:
- javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>, javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>
public class ImportingTransactionHandler
- extends GenericImportingTransactionHandler
A Message Handler for a web service endpoint.
Add this handler to the service's incoming handler chain
if you want to extract the transaction context from
incoming SOAP requests. The request needs to
contain the transaction propagation in WS-AtomicTransaction
format.
IMPORTANT NOTE: this handler only works on platforms
where the message handlers are executed in the SAME
thread as the service itself.
Fields inherited from class com.atomikos.icatch.jaxws.GenericImportingTransactionHandler |
ATOMIKOS_ACTOR, factory, heuristic_commit, IMPORT_PREFERENCE_MANDATORY, IMPORT_PREFERENCE_NEVER, IMPORT_PREFERENCE_NOT_SUPPORTED, IMPORT_PREFERENCE_REQUIRED, IMPORT_PREFERENCE_REQUIRES_NEW, IMPORT_PREFERENCE_SUPPORTS, new_transaction_timeout, orphan_check, preference |
Methods inherited from class com.atomikos.icatch.jaxws.GenericImportingTransactionHandler |
close, convertPreference, createSOAPFaultException, getCheckOrphans, getCommitOnHeuristicTimeout, getCompositeTransaction, getImportPreference, getNewTransactionTimeout, handleFault, handleMessage, isRollbackOnly, setCheckOrphans, setCommitOnHeuristicTimeout, setImportPreference, setNewTransactionTimeout, toString |
ImportingTransactionHandler
public ImportingTransactionHandler()
getSOAPImportingTransactionManager
protected SOAPImportingTransactionManager getSOAPImportingTransactionManager()
- Specified by:
getSOAPImportingTransactionManager
in class GenericImportingTransactionHandler
- Returns:
- The protocol-specific importing transaction manager.
- See Also:
com.atomikos.icatch.jaxrpc.GenericImportingTransactionHandler#getSOAPImportingTransactionManager()
getHeaders
public Set<QName> getHeaders()
- See Also:
rpc.handler.Handler
getActiveRecovery
protected boolean getActiveRecovery()
- Description copied from class:
GenericImportingTransactionHandler
- Checks if active transactions are recoverable.
- Specified by:
getActiveRecovery
in class GenericImportingTransactionHandler
- Returns:
Copyright © 2012. All Rights Reserved.