|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HandlerInvoker
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.
Method Summary | |
---|---|
void |
closeHandlers()
Close all handlers that have previously invoked |
boolean |
faultRaised()
Indicates if a fault has been raised |
ObjectMessageContext |
getContext()
get the context associated with this invoker |
boolean |
invokeLogicalHandlers(boolean requestor)
Invoke the logical handlers. |
boolean |
invokeProtocolHandlers(boolean requestor,
javax.xml.ws.handler.MessageContext bindingContext)
Invoke the protocol handlers. |
boolean |
invokeStreamHandlers(InputStreamMessageContext context)
Invoke the stream level handlers with an InputStream. |
boolean |
invokeStreamHandlers(OutputStreamMessageContext context)
Invoke the stream level handlers with an OutputStream. |
boolean |
isClosed()
Indicates that the invoker is closed. |
boolean |
isInbound()
Is the current message direction inbound |
boolean |
isOutbound()
Is the current message direction outbound |
void |
mepComplete()
Invoke handlers at the end of an MEP calling close on each. |
void |
setContext(ObjectMessageContext ctx)
assoociate a context with this invoker |
void |
setFault(boolean faultExpected)
set the invoker into fault processing mode. |
void |
setFault(Exception pe)
set the current exception in this message exchange and set the invoker into fault processing mode. |
void |
setInbound()
set the current message direction to inbound |
void |
setOutbound()
set the current message direction to outabound |
Method Detail |
---|
boolean invokeLogicalHandlers(boolean requestor)
requestor
- true if being invoked on the request initiatorboolean invokeProtocolHandlers(boolean requestor, javax.xml.ws.handler.MessageContext bindingContext)
requestor
- true if being invoked on the request initiatorbindingContext
- binding specific MessageContextboolean invokeStreamHandlers(InputStreamMessageContext context)
context
- the InputStreamMessageContext for the message
exchangeboolean invokeStreamHandlers(OutputStreamMessageContext context)
context
- the OutputStreamMessageContext for the message exchangevoid closeHandlers()
boolean faultRaised()
boolean isOutbound()
boolean isInbound()
void setInbound()
void setOutbound()
void setFault(Exception pe)
void setFault(boolean faultExpected)
void mepComplete()
boolean isClosed()
ObjectMessageContext getContext()
void setContext(ObjectMessageContext ctx)
ctx
- the associated context
|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |