org.apache.axis
Class SimpleTargetedChain

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.apache.axis.SimpleChain
          extended byorg.apache.axis.SimpleTargetedChain
All Implemented Interfaces:
Chain, Handler, java.io.Serializable, TargetedChain

public class SimpleTargetedChain
extends SimpleChain
implements TargetedChain

A SimpleTargetedChain has a request handler, a pivot handler, and a response handler (any of which may themselves be chains).

See Also:
Serialized Form

Constructor Summary
SimpleTargetedChain()
          Default no-arg constructor.
SimpleTargetedChain(Handler handler)
          Constructor for an instance with effectively only a pivot handler.
SimpleTargetedChain(Handler reqHandler, Handler pivHandler, Handler respHandler)
          Constructor which takes real or null request, pivot, and response handlers.
 
Method Summary
 Handler getPivotHandler()
          Returns the Pivot Handler.
 Handler getRequestHandler()
          Returns the Request handler.
 Handler getResponseHandler()
          Returns the Response Handler.
 
Methods inherited from class org.apache.axis.SimpleChain
addHandler, canHandleBlock, cleanup, contains, generateWSDL, getDeploymentData, getHandlers, init, invoke, onFault
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
getName, getOption, getOptions, getUnderstoodHeaders, setName, setOption, setOptionDefault, setOptions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis.Chain
addHandler, contains, getHandlers
 
Methods inherited from interface org.apache.axis.Handler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, invoke, onFault, setName, setOption, setOptions
 

Constructor Detail

SimpleTargetedChain

public SimpleTargetedChain()
Default no-arg constructor.


SimpleTargetedChain

public SimpleTargetedChain(Handler handler)
Constructor for an instance with effectively only a pivot handler.

Parameters:
handler - the Handler to use

SimpleTargetedChain

public SimpleTargetedChain(Handler reqHandler,
                           Handler pivHandler,
                           Handler respHandler)
Constructor which takes real or null request, pivot, and response handlers.

Method Detail

getRequestHandler

public Handler getRequestHandler()
Description copied from interface: TargetedChain
Returns the Request handler.

Specified by:
getRequestHandler in interface TargetedChain
Returns:
the request Handler

getPivotHandler

public Handler getPivotHandler()
Description copied from interface: TargetedChain
Returns the Pivot Handler.

Specified by:
getPivotHandler in interface TargetedChain
Returns:
the pivot Handler

getResponseHandler

public Handler getResponseHandler()
Description copied from interface: TargetedChain
Returns the Response Handler.

Specified by:
getResponseHandler in interface TargetedChain
Returns:
the response Handler


Copyright © 2003 Apache Web Services Project. A ll Rights Reserved.