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:
Serializable
,Handler
A basic RMI Provider
- Author:
- Davanum Srinivas (dims@yahoo.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.commons.logging.Log
protected static org.apache.commons.logging.Log
static final String
static final String
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Return the option in the configuration that contains the service class name.protected String
getStrOption
(String optionName, Handler service) Get a String option by looking first in the service options, and then at the Handler's options.protected Object
makeNewServiceObject
(MessageContext msgContext, 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 Details
-
log
protected static org.apache.commons.logging.Log log -
entLog
protected static org.apache.commons.logging.Log entLog -
OPTION_NAMING_LOOKUP
- See Also:
-
OPTION_INTERFACE_CLASSNAME
- See Also:
-
-
Constructor Details
-
RMIProvider
public RMIProvider()
-
-
Method Details
-
makeNewServiceObject
Return a object which implements the service.- Overrides:
makeNewServiceObject
in classJavaProvider
- Parameters:
msgContext
- the message contextclsName
- The JNDI name of the EJB home class- Returns:
- an object that implements the service
- Throws:
Exception
-
getServiceClassNameOptionName
Return the option in the configuration that contains the service class name.- Overrides:
getServiceClassNameOptionName
in classJavaProvider
-
getStrOption
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
-