|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webservice.handler.HandlerWrapper
public class 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.Handlerjavax.xml.rpc.JAXRPCException
public void destroy()
throws javax.xml.rpc.JAXRPCException
destroy in interface javax.xml.rpc.handler.Handlerjavax.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.Handlerjavax.xml.rpc.JAXRPCException
javax.xml.rpc.soap.SOAPFaultExceptionpublic boolean handleResponse(javax.xml.rpc.handler.MessageContext msgContext)
handleResponse in interface javax.xml.rpc.handler.Handlerpublic boolean handleFault(javax.xml.rpc.handler.MessageContext msgContext)
handleFault in interface javax.xml.rpc.handler.Handlerpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||