|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Handler
A handler is just something that processes an XML message.
If an exception occurrs in the invoke method, the entity which started the invocation, is responsible for turning the exception into a fault.
Field Summary | |
---|---|
static java.lang.String |
ROLE
|
Method Summary | |
---|---|
java.lang.String[] |
getRoles()
The roles which this service applies to. |
javax.xml.namespace.QName[] |
getUnderstoodHeaders()
|
void |
handleFault(XFireFault fault,
MessageContext context)
Handles faults that occur in this handler. |
void |
invoke(MessageContext context)
Invoke a handler. |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
javax.xml.namespace.QName[] getUnderstoodHeaders()
java.lang.String[] getRoles()
null
or an empty if this endpoint handles no
roles.void invoke(MessageContext context) throws java.lang.Exception
handleFault
method.
message
- The message context.
java.lang.Exception
void handleFault(XFireFault fault, MessageContext context)
context
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |