Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.providers.java
Class RPCProvider  view RPCProvider download RPCProvider.java

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.apache.axis.providers.BasicProvider
          extended byorg.apache.axis.providers.java.JavaProvider
              extended byorg.apache.axis.providers.java.RPCProvider
All Implemented Interfaces:
org.apache.axis.Handler, java.io.Serializable
Direct Known Subclasses:
CORBAProvider, EJBProvider, RMIProvider

public class RPCProvider
extends JavaProvider

Implement message processing by walking over RPCElements of the envelope body, invoking the appropriate methods on the service object.


Nested Class Summary
 
Nested classes inherited from class org.apache.axis.providers.java.JavaProvider
JavaProvider.LockObject
 
Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.providers.java.JavaProvider
entLog, OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_SCOPE
 
Fields inherited from class org.apache.axis.providers.BasicProvider
OPTION_EXTRACLASSES, OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_SOAPACTION_MODE, OPTION_WSDL_TARGETNAMESPACE
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
RPCProvider()
           
 
Method Summary
protected  void checkMethodName(org.apache.axis.MessageContext msgContext, java.lang.String allowedMethods, java.lang.String methodName)
          Throw an AxisFault if the requested method is not allowed.
protected  java.lang.Object invokeMethod(org.apache.axis.MessageContext msgContext, java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] argValues)
          This method encapsulates the method invocation.
 void processMessage(org.apache.axis.MessageContext msgContext, org.apache.axis.message.SOAPEnvelope reqEnv, org.apache.axis.message.SOAPEnvelope resEnv, java.lang.Object obj)
          Process the current message.
 
Methods inherited from class org.apache.axis.providers.java.JavaProvider
getServiceClass, getServiceClassName, getServiceClassNameOptionName, getServiceObject, initServiceDesc, invoke, makeNewServiceObject
 
Methods inherited from class org.apache.axis.providers.BasicProvider
addOperation, generateWSDL, getOperationName, getOperationNames, getOperationQNames
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
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
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

RPCProvider

public RPCProvider()
Method Detail

processMessage

public void processMessage(org.apache.axis.MessageContext msgContext,
                           org.apache.axis.message.SOAPEnvelope reqEnv,
                           org.apache.axis.message.SOAPEnvelope resEnv,
                           java.lang.Object obj)
                    throws java.lang.Exception
Process the current message. Result in resEnv.

Specified by:
processMessage in class JavaProvider

invokeMethod

protected java.lang.Object invokeMethod(org.apache.axis.MessageContext msgContext,
                                        java.lang.reflect.Method method,
                                        java.lang.Object obj,
                                        java.lang.Object[] argValues)
                                 throws java.lang.Exception
This method encapsulates the method invocation.


checkMethodName

protected void checkMethodName(org.apache.axis.MessageContext msgContext,
                               java.lang.String allowedMethods,
                               java.lang.String methodName)
                        throws java.lang.Exception
Throw an AxisFault if the requested method is not allowed.