Methods Summary |
---|
public abstract void | destroy()The destroy method indicates the end of lifecycle
for a Handler instance. The Handler implementation class should
release its resources and perform cleanup in the implementation
of the destroy method.
|
public javax.xml.namespace.QName[] | getHeaders()Gets the header blocks processed by this Handler instance.
|
public boolean | handleFault(MessageContext context)The handleFault method processes the SOAP faults
based on the SOAP message processing model.
|
public boolean | handleRequest(MessageContext context)The handleRequest method processes the request message.
|
public boolean | handleResponse(MessageContext context)The handleResponse method processes the response SOAP message.
|
public abstract void | init(HandlerInfo config)The init method enables the Handler instance to
initialize itself. The init method passes the
handler configuration as a HandlerInfo instance.
The HandlerInfo is used to configure the Handler (for example:
setup access to an external resource or service) during the
initialization.
In the init method, the Handler class may get access to
any resources (for example; access to a logging service or
database) and maintain these as part of its instance variables.
Note that these instance variables must not have any state
specific to the SOAP message processing performed in the
various handle method.
|