org.jboss.webservice.server
Class InvokerProviderJSE

java.lang.Object
  extended byorg.jboss.axis.handlers.BasicHandler (src) 
      extended byorg.jboss.axis.providers.BasicProvider (src) 
          extended byorg.jboss.axis.providers.java.JavaProvider (src) 
              extended byorg.jboss.axis.providers.java.RPCProvider (src) 
                  extended byorg.jboss.webservice.server.InvokerProvider (src) 
                      extended byorg.jboss.webservice.server.InvokerProviderJSE
All Implemented Interfaces:
Handler (src)
Direct Known Subclasses:
InvokerProviderJMX (src)

public class InvokerProviderJSE
extends InvokerProvider (src)

An Axis RPC provider for WEB endpoints.

Since:
15-April-2004

Field Summary
 
Fields inherited from class org.jboss.webservice.server.InvokerProvider (src)
handlerChain, portComponentInfo, server
 
Fields inherited from class org.jboss.axis.providers.java.RPCProvider (src)
RPC_INVOCATION
 
Fields inherited from class org.jboss.axis.providers.java.JavaProvider (src)
OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_CLASSPATH, OPTION_IS_STATIC, OPTION_SCOPE, OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_TARGETNAMESPACE
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
InvokerProviderJSE()
           
 
Method Summary
protected  java.lang.ClassLoader getContextClassLoader()
          Get the context CLassLoader for this service
protected  java.lang.Object invokeServiceEndpoint(MessageContext (src)  msgContext, java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] argValues)
          This method encapsulates the method invocation.
protected  java.lang.Object invokeTarget(RPCInvocation (src)  invocation)
          Before and after we call the service endpoint bean, we process the handler chains.
protected  java.lang.Object makeNewServiceObject(MessageContext (src)  msgContext, java.lang.String className)
          Create an instance of the service endpoint bean
 
Methods inherited from class org.jboss.webservice.server.InvokerProvider (src)
createRPCInvocation, generateWSDL, getPortComponentInfo, getServiceClass, getServiceClassName, initServiceDesc, invokeMethod
 
Methods inherited from class org.jboss.axis.providers.java.RPCProvider (src)
checkMethodName, processMessage
 
Methods inherited from class org.jboss.axis.providers.java.JavaProvider (src)
getServiceClassNameOptionName, getServiceObject, invoke, processException
 
Methods inherited from class org.jboss.axis.providers.BasicProvider (src)
addOperation, getOperationName, getOperationNames, getOperationQNames
 
Methods inherited from class org.jboss.axis.handlers.BasicHandler (src)
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokerProviderJSE

public InvokerProviderJSE()
Method Detail

makeNewServiceObject

protected java.lang.Object makeNewServiceObject(MessageContext (src)  msgContext,
                                                java.lang.String className)
                                         throws java.lang.Exception
Create an instance of the service endpoint bean

Overrides:
makeNewServiceObject in class JavaProvider (src)
Throws:
java.lang.Exception

invokeTarget

protected java.lang.Object invokeTarget(RPCInvocation (src)  invocation)
                                 throws java.lang.Exception
Before and after we call the service endpoint bean, we process the handler chains.

The handler chain implemantation may replace the RPCInvocation object in the message context if it finds the the handlers have modyfied the SOAPEnvelope.

When you change the implementation here, make sure you do the same in the ServiceEndpointInterceptor

Overrides:
invokeTarget in class RPCProvider (src)
Parameters:
invocation - The invocation
Returns:
Return value from invokeMethod
Throws:
java.lang.Exception - Any client Exception

invokeServiceEndpoint

protected java.lang.Object invokeServiceEndpoint(MessageContext (src)  msgContext,
                                                 java.lang.reflect.Method method,
                                                 java.lang.Object obj,
                                                 java.lang.Object[] argValues)
                                          throws java.lang.Exception
This method encapsulates the method invocation.

Specified by:
invokeServiceEndpoint in class InvokerProvider (src)
Parameters:
msgContext - MessageContext
method - the target method.
obj - the target object
argValues - the method arguments
Throws:
java.lang.Exception

getContextClassLoader

protected java.lang.ClassLoader getContextClassLoader()
Get the context CLassLoader for this service

Specified by:
getContextClassLoader in class InvokerProvider (src)