Package org.apache.axis.providers.java
Class RMIProvider
- java.lang.Object
-
- org.apache.axis.handlers.BasicHandler
-
- org.apache.axis.providers.BasicProvider
-
- org.apache.axis.providers.java.JavaProvider
-
- org.apache.axis.providers.java.RPCProvider
-
- org.apache.axis.providers.java.RMIProvider
-
- All Implemented Interfaces:
java.io.Serializable,Handler
public class RMIProvider extends RPCProvider
A basic RMI Provider- Author:
- Davanum Srinivas (dims@yahoo.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.LogentLogprotected static org.apache.commons.logging.Loglogstatic java.lang.StringOPTION_INTERFACE_CLASSNAMEstatic java.lang.StringOPTION_NAMING_LOOKUP-
Fields inherited from class org.apache.axis.providers.java.JavaProvider
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
Constructors Constructor Description RMIProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetServiceClassNameOptionName()Return the option in the configuration that contains the service class name.protected java.lang.StringgetStrOption(java.lang.String optionName, Handler service)Get a String option by looking first in the service options, and then at the Handler's options.protected java.lang.ObjectmakeNewServiceObject(MessageContext msgContext, java.lang.String clsName)Return a object which implements the service.-
Methods inherited from class org.apache.axis.providers.java.RPCProvider
checkMethodName, createResponseBody, getBody, getOperationDesc, invokeMethod, processMessage
-
Methods inherited from class org.apache.axis.providers.java.JavaProvider
getServiceClass, getServiceClassName, getServiceObject, initServiceDesc, invoke
-
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
-
-
-
-
Field Detail
-
log
protected static org.apache.commons.logging.Log log
-
entLog
protected static org.apache.commons.logging.Log entLog
-
OPTION_NAMING_LOOKUP
public static final java.lang.String OPTION_NAMING_LOOKUP
- See Also:
- Constant Field Values
-
OPTION_INTERFACE_CLASSNAME
public static final java.lang.String OPTION_INTERFACE_CLASSNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeNewServiceObject
protected java.lang.Object makeNewServiceObject(MessageContext msgContext, java.lang.String clsName) throws java.lang.Exception
Return a object which implements the service.- Overrides:
makeNewServiceObjectin classJavaProvider- Parameters:
msgContext- the message contextclsName- The JNDI name of the EJB home class- Returns:
- an object that implements the service
- Throws:
java.lang.Exception
-
getServiceClassNameOptionName
protected java.lang.String getServiceClassNameOptionName()
Return the option in the configuration that contains the service class name.- Overrides:
getServiceClassNameOptionNamein classJavaProvider
-
getStrOption
protected java.lang.String getStrOption(java.lang.String optionName, Handler service)Get a String option by looking first in the service options, and then at the Handler's options. This allows defaults to be specified at the provider level, and then overriden for particular services.- Parameters:
optionName- the option to retrieve- Returns:
- String the value of the option or null if not found in either scope
-
-