public interface Handler
| Modifier and Type | Interface and Description |
|---|---|
static class |
Handler.InvocationResponse
This type encapsulates an enumeration of possible message processing
instruction values that may be returned by a handler/phase within the
runtime.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Deprecated.
This method will be going away after the 1.3 release, it was never used.
|
void |
flowComplete(MessageContext msgContext)
This method will be called on each registered handler that had its
invoke(...) method called during the processing of the message, once
the message processing has completed.
|
HandlerDescription |
getHandlerDesc()
Gets the HandlerDescription of a handler.
|
java.lang.String |
getName()
Return the name of this Handler
|
Parameter |
getParameter(java.lang.String name)
Get a Parameter from this Handler
|
void |
init(HandlerDescription handlerDesc)
Initialize a Handler.
|
Handler.InvocationResponse |
invoke(MessageContext msgContext)
This method will be called on each registered handler when a message
needs to be processed.
|
void cleanup()
void init(HandlerDescription handlerDesc)
handlerDesc - the HandlerDescription for this HandlerHandler.InvocationResponse invoke(MessageContext msgContext) throws AxisFault
msgContext - the MessageContext to process with this
Handler.AxisFault - if the handler encounters an errorvoid flowComplete(MessageContext msgContext)
msgContext - the MessageContext to process with this
Handler.HandlerDescription getHandlerDesc()
java.lang.String getName()
Parameter getParameter(java.lang.String name)
name - the name of the desired valueCopyright © 2004-2024 The Apache Software Foundation. All Rights Reserved.