|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.rpc.handler.GenericHandler
org.apache.ws.resource.handler.ResourceHandler
LOG-DONE Base class for platform-specific providers; also is a JAX-RPC Handler for more flexibility.
Field Summary | |
static org.apache.ws.util.i18n.Messages |
MSG
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_RESOURCE_HOME_CLASS_NAME
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_RESOURCE_KEY_CLASS_NAME
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_RESOURCE_KEY_QNAME
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_SERVICE_CLASS_NAME
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_WSDL_TARGET_NAMESPACE
DOCUMENT_ME |
static java.lang.String |
SOAP_ENVELOPE_XMLBEAN
DOCUMENT_ME |
Constructor Summary | |
ResourceHandler()
|
Method Summary | |
protected abstract ResourceContext |
createResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
Creates a ResourceContext for this request. |
protected abstract javax.xml.soap.SOAPBodyElement |
createSOAPBodyElement(org.apache.xmlbeans.XmlObject responseBodyElem)
DOCUMENT_ME |
javax.xml.namespace.QName[] |
getHeaders()
DOCUMENT_ME |
protected javax.xml.soap.SOAPEnvelope |
getResponseEnvelope(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
DOCUMENT_ME |
protected javax.xml.soap.SOAPMessage |
getResponseMessage(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
|
protected java.lang.Class |
getServiceClassName(ResourceContext resourceContext)
DOCUMENT_ME |
protected java.lang.String |
getServiceOption(ResourceContext resourceContext,
java.lang.String key)
|
boolean |
handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
DOCUMENT_ME |
boolean |
handleResponse(javax.xml.rpc.handler.MessageContext messageContext)
DOCUMENT_ME |
Methods inherited from class javax.xml.rpc.handler.GenericHandler |
destroy, handleFault, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.ws.util.i18n.Messages MSG
public static final java.lang.String SERVICE_OPT_WSDL_TARGET_NAMESPACE
public static final java.lang.String SERVICE_OPT_SERVICE_CLASS_NAME
public static final java.lang.String SERVICE_OPT_RESOURCE_KEY_QNAME
public static final java.lang.String SERVICE_OPT_RESOURCE_KEY_CLASS_NAME
public static final java.lang.String SERVICE_OPT_RESOURCE_HOME_CLASS_NAME
public static final java.lang.String SOAP_ENVELOPE_XMLBEAN
Constructor Detail |
public ResourceHandler()
Method Detail |
public javax.xml.namespace.QName[] getHeaders()
public boolean handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
msgContext
- DOCUMENT_ME
public boolean handleResponse(javax.xml.rpc.handler.MessageContext messageContext)
messageContext
- DOCUMENT_ME
protected abstract ResourceContext createResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
ResourceContext
for this request.
soapMsgContext
- the JAX-RPC SOAP message context for this request
protected abstract javax.xml.soap.SOAPBodyElement createSOAPBodyElement(org.apache.xmlbeans.XmlObject responseBodyElem)
responseBodyElem
- DOCUMENT_ME
protected java.lang.Class getServiceClassName(ResourceContext resourceContext) throws ResourceContextException, java.lang.ClassNotFoundException
resourceContext
- DOCUMENT_ME
ResourceContextException
java.lang.ClassNotFoundException
protected final java.lang.String getServiceOption(ResourceContext resourceContext, java.lang.String key)
resourceContext
- key
-
protected javax.xml.soap.SOAPEnvelope getResponseEnvelope(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
soapMsgContext
- DOCUMENT_ME
protected javax.xml.soap.SOAPMessage getResponseMessage(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
soapMsgContext
- the response's JAX-RPC message context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |