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 |
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.
|
String |
getName()
Return the name of this Handler
|
Parameter |
getParameter(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 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()
String getName()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.