| org.objectweb.celtix.handlers.HandlerInvoker
All known Subclasses: org.objectweb.celtix.bus.handlers.HandlerChainInvoker,
HandlerInvoker | public interface HandlerInvoker (Code) | | Invokes the handlers associated with a binding. The client and
server bindings invoke their handlers using the HandlerInvoker.
For details of how the invokers should be invoked, see the JAXWS
2.0 specification.
|
adoptLogicalHandlers | void adoptLogicalHandlers(HandlerInvoker invoker)(Code) | | Allows an the logical handler chain for one invoker to be used
as an alternate chain for another.
Parameters: invoker - the invoker encalsulting the alternate logical handlerchain |
closeHandlers | void closeHandlers()(Code) | | Close all handlers that have previously invoked
|
faultRaised | boolean faultRaised(MessageContext context)(Code) | | Indicates if a fault has been raised
true if an exception has been thrown by an invokedhandler. |
invokeLogicalHandlers | boolean invokeLogicalHandlers(boolean requestor, ObjectMessageContext objectContext)(Code) | | Invoke the logical handlers.
Parameters: requestor - true if being invoked on the request initiator |
invokeProtocolHandlers | boolean invokeProtocolHandlers(boolean requestor, MessageContext bindingContext)(Code) | | Invoke the protocol handlers.
Parameters: requestor - true if being invoked on the request initiator Parameters: bindingContext - binding specific MessageContext |
invokeStreamHandlers | boolean invokeStreamHandlers(InputStreamMessageContext context)(Code) | | Invoke the stream level handlers with an InputStream.
Parameters: context - the InputStreamMessageContext for the messageexchange |
invokeStreamHandlers | boolean invokeStreamHandlers(OutputStreamMessageContext context)(Code) | | Invoke the stream level handlers with an OutputStream.
Parameters: context - the OutputStreamMessageContext for the message exchange |
isClosed | boolean isClosed()(Code) | | Indicates that the invoker is closed. When closed, only *
#mepComplete may be called. The invoker will become closed if
during a invocation of handlers, a handler throws a runtime
exception that is not a protocol exception and no futher
handler or message processing is possible.
|
isInbound | boolean isInbound()(Code) | | Is the current message direction inbound
true if current message direction is inbound |
isOutbound | boolean isOutbound()(Code) | | Is the current message direction outbound
true if current message direction is outbound |
mepComplete | void mepComplete(MessageContext context)(Code) | | Invoke handlers at the end of an MEP calling close on each.
|
setFault | void setFault(boolean faultExpected)(Code) | | set the invoker into fault processing mode. This method is
invoked when a client transport indicates that a fault has been
raised by the server but the message has not yet been read or
unmarshalled.
|
setInbound | void setInbound()(Code) | | set the current message direction to inbound
|
setOutbound | void setOutbound()(Code) | | set the current message direction to outabound
|
|
|