org.apache.axis
public interface Handler extends Serializable
Method Summary | |
---|---|
boolean | canHandleBlock(QName qname)
Indicate if this handler can process qname .
|
void | cleanup()
Cleanup is called when the chain containing this Handler object
is done processing the chain. |
void | generateWSDL(MessageContext msgContext)
Obtain WSDL information. |
Element | getDeploymentData(Document doc)
This will return the root element of an XML doc that describes the
deployment information about this handler. |
String | getName()
Return the name (i.e. registry key) for this Handler .
|
Object | getOption(String name)
Returns the option corresponding to the 'name' given.
|
Hashtable | getOptions()
Return the entire list of options.
|
List | getUnderstoodHeaders()
Return a list of QNames which this Handler understands. |
void | init()
Init is called when the chain containing this Handler object
is instantiated. |
void | invoke(MessageContext msgContext)
Invoke is called to do the actual work of the Handler object.
|
void | onFault(MessageContext msgContext)
Called when a subsequent handler throws a fault.
|
void | setName(String name)
Set the name (i.e. registry key) of this Handler.
|
void | setOption(String name, Object value)
Add the given option (name/value) to this handler's bag of options.
|
void | setOptions(Hashtable opts)
Sets a whole list of options.
|
qname
.
Parameters: qname the QName
to check
Returns: true if this Handler
can handle qname
,
false otherwise
Parameters: msgContext the MessageContext
to generate the WSDL
to
Throws: AxisFault if there was a problem generating the WSDL
Parameters: doc a Document
within which to build the deployment
data
Returns: an Element representing the deployment data
Handler
.
Returns: the name for this Handler
Parameters: name the name of the option
Returns: the value of the option
Returns: a Hashset
containing all name/value pairs
Returns: a List of QName
instances
Parameters: msgContext the MessageContext
to process with this
Handler
.
Throws: AxisFault if the handler encounters an error
Parameters: msgContext the MessageContext
to process the fault
to
Parameters: name the new name
Parameters: name the name of the option value the new value of the option
Parameters: opts a Hashtable
of name-value pairs to use