org.apache.axis
public class SimpleChain extends BasicHandler implements Chain
A Simple Chain initially has no Handlers. Handlers may be added until the chain is invoke()d after which Handlers may not be added (and any attempt to do so will throw an exception).
Field Summary | |
---|---|
protected Vector | handlers |
protected boolean | invoked |
Method Summary | |
---|---|
void | addHandler(Handler handler) |
boolean | canHandleBlock(QName qname) |
void | cleanup() |
boolean | contains(Handler handler) |
void | generateWSDL(MessageContext msgContext)
Iterate over the chain letting each handler have a crack at
contributing to a WSDL description.
|
Element | getDeploymentData(Document doc) |
Handler[] | getHandlers() |
void | init() |
void | invoke(MessageContext msgContext)
Iterate over the chain invoking each handler. |
void | onFault(MessageContext msgContext)
Notify the handlers in this chain because some handler
later on has faulted - in reverse order. |
Parameters: msgContext the MessageContext
to write the WSDL
out to
Throws: AxisFault if there was a problem writing the WSDL
Throws: AxisFault if there was a fault with any of the handlers
Parameters: msgContext the context to process