|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A handler provides a mechanism for processing of service context, plugging in additional RPC processing behavior and enhancing functionality of a JAX-RPC runtime system.
A JAX-RPC handler is required to implement the
javax.xml.rpc.handler.Handler
interface.
Method Summary | |
void |
destroy()
The destroy method indicates the end of lifecycle for a Handler instance. |
void |
handle(MessageContext context)
The handle method performs the actual processing work for a handler. |
void |
init(java.util.Map config)
The init method to enable the Handler instance to initialize itself. |
Method Detail |
public void handle(MessageContext context) throws JAXRPCException, SOAPFault
context
- MessageContext parameter provides access to
the message context (for example: SOAP message
that carries an RPC request) that is processed
by a handler.JAXRPCException
- if any handler specific processing
error happensSOAPFault
- if SOAP fault is generated by this handlerpublic void init(java.util.Map config) throws JAXRPCException
config
- Configuration parameters for initialization of
handlerJAXRPCException
- If initialization of the handler failspublic void destroy() throws JAXRPCException
JAXRPCException
- If any error during destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |