|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.webservice.handler.HandlerWrapper
A wrapper arround a Handler
that takes care of its lifecycle.
Field Summary | |
static int |
DOES_NOT_EXIST
|
static int |
METHOD_READY
|
Constructor Summary | |
HandlerWrapper(javax.xml.rpc.handler.Handler handler)
Delegate to the given handler |
Method Summary | |
void |
destroy()
The destroy method indicates the end of lifecycle for a Handler instance. |
javax.xml.namespace.QName[] |
getHeaders()
Gets the header blocks processed by this Handler instance. |
int |
getState()
Get the current state |
String |
getStateAsString()
Get the current state as string |
boolean |
handleFault(javax.xml.rpc.handler.MessageContext msgContext)
The handleFault method processes the SOAP faults based on the SOAP message processing model. |
boolean |
handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
The handleRequest method processes the request message. |
boolean |
handleResponse(javax.xml.rpc.handler.MessageContext msgContext)
The handleResponse method processes the response SOAP message. |
int |
hashCode()
Returns a hash code value for the object. |
void |
init(javax.xml.rpc.handler.HandlerInfo config)
The init method enables the Handler instance to initialize itself. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DOES_NOT_EXIST
public static final int METHOD_READY
Constructor Detail |
public HandlerWrapper(javax.xml.rpc.handler.Handler handler)
Method Detail |
public int getState()
public String getStateAsString()
public javax.xml.namespace.QName[] getHeaders()
getHeaders
in interface javax.xml.rpc.handler.Handler
public void init(javax.xml.rpc.handler.HandlerInfo config) throws javax.xml.rpc.JAXRPCException
init
in interface javax.xml.rpc.handler.Handler
javax.xml.rpc.JAXRPCException
public void destroy() throws javax.xml.rpc.JAXRPCException
destroy
in interface javax.xml.rpc.handler.Handler
javax.xml.rpc.JAXRPCException
public boolean handleRequest(javax.xml.rpc.handler.MessageContext msgContext) throws javax.xml.rpc.JAXRPCException, javax.xml.rpc.soap.SOAPFaultException
handleRequest
in interface javax.xml.rpc.handler.Handler
javax.xml.rpc.JAXRPCException
javax.xml.rpc.soap.SOAPFaultException
public boolean handleResponse(javax.xml.rpc.handler.MessageContext msgContext)
handleResponse
in interface javax.xml.rpc.handler.Handler
public boolean handleFault(javax.xml.rpc.handler.MessageContext msgContext)
handleFault
in interface javax.xml.rpc.handler.Handler
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |