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
public class RMIProvider
- extends RPCProvider
A basic RMI Provider
- Author:
- Davanum Srinivas (dims@yahoo.com)
- See Also:
- Serialized Form
| 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 |
log
protected static org.apache.commons.logging.Log log
entLog
protected static org.apache.commons.logging.Log entLog
OPTION_NAMING_LOOKUP
public static final String OPTION_NAMING_LOOKUP
- See Also:
- Constant Field Values
OPTION_INTERFACE_CLASSNAME
public static final String OPTION_INTERFACE_CLASSNAME
- See Also:
- Constant Field Values
RMIProvider
public RMIProvider()
makeNewServiceObject
protected Object makeNewServiceObject(MessageContext msgContext,
String clsName)
throws Exception
- Return a object which implements the service.
- Overrides:
makeNewServiceObject in class JavaProvider
- Parameters:
msgContext - the message contextclsName - The JNDI name of the EJB home class
- Returns:
- an object that implements the service
- Throws:
Exception
getServiceClassNameOptionName
protected String getServiceClassNameOptionName()
- Return the option in the configuration that contains the service class
name.
- Overrides:
getServiceClassNameOptionName in class JavaProvider
getStrOption
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. 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
Copyright © The Apache Software Foundation. All Rights Reserved.