org.jboss.net.axis.server
Class TransactionResponseHandler

java.lang.Object
  extended byorg.jboss.axis.handlers.BasicHandler (src) 
      extended byorg.jboss.net.axis.server.TransactionResponseHandler
All Implemented Interfaces:
Handler (src)
Direct Known Subclasses:
TransactionRequestHandler (src)

public class TransactionResponseHandler
extends BasicHandler (src)

This handler is to finish a previously opened client-side transaction.

Change notes


Field Summary
protected  UserTransaction (src) userTransaction
           
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
TransactionResponseHandler()
           
 
Method Summary
protected  void endTransaction(MessageContext (src)  msgContext, boolean commit)
           
 void invoke(MessageContext (src)  msgContext)
          Must implement this in subclasses.
 void onFault(MessageContext (src)  msgContext)
          Called when a subsequent handler throws a fault.
 
Methods inherited from class org.jboss.axis.handlers.BasicHandler (src)
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userTransaction

protected final UserTransaction (src)  userTransaction
Constructor Detail

TransactionResponseHandler

public TransactionResponseHandler()
                           throws javax.naming.NamingException
Method Detail

endTransaction

protected void endTransaction(MessageContext (src)  msgContext,
                              boolean commit)
                       throws AxisFault (src) 
Throws:
AxisFault (src)

invoke

public void invoke(MessageContext (src)  msgContext)
            throws AxisFault (src) 
Description copied from class: BasicHandler (src)
Must implement this in subclasses.

Specified by:
invoke in interface Handler (src)
Specified by:
invoke in class BasicHandler (src)
Throws:
AxisFault (src)

onFault

public void onFault(MessageContext (src)  msgContext)
Description copied from interface: Handler (src)
Called when a subsequent handler throws a fault.

Specified by:
onFault in interface Handler (src)
Overrides:
onFault in class BasicHandler (src)