public class InstanceIdentifierHandler extends Object implements SOAPHandler<SOAPMessageContext>
Constructor and Description |
---|
InstanceIdentifierHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context)
this hanlder ignores close messages
|
Set<QName> |
getHeaders()
Gets the header blocks that can be processed by this Handler
instance.
|
boolean |
handleFault(SOAPMessageContext context)
this handler ignores faults but allows other handlers to deal with them
|
boolean |
handleMessage(SOAPMessageContext context)
Handle an outgoing message by inserting any current arjuna context attached to the context into the message
headers and handle an incoming message by retrieving the context from the headers and attaching it to the
context,
|
protected boolean |
handleMessageOutbound(SOAPMessageContext context)
check for an arjuna context attached to the message context and, if found, install its identifier as the value
of a soap message header element
|
public Set<QName> getHeaders()
getHeaders
in interface SOAPHandler<SOAPMessageContext>
QName
is the qualified
name of the outermost element of the Header block.public boolean handleMessage(SOAPMessageContext context) throws ProtocolException
handleMessage
in interface Handler<SOAPMessageContext>
context
- the message context.RuntimeException
- Causes the JAX-WS runtime to cease
handler processing and generate a fault.ProtocolException
- Causes the JAX-WS runtime to switch to
fault message processing.protected boolean handleMessageOutbound(SOAPMessageContext context) throws ProtocolException
context
- ProtocolException
public boolean handleFault(SOAPMessageContext context)
handleFault
in interface Handler<SOAPMessageContext>
context
- the message contextpublic void close(MessageContext context)
close
in interface Handler<SOAPMessageContext>
context
- the message contextCopyright © 2019 JBoss by Red Hat. All rights reserved.