org.apache.axis.providers.java

Class RMIProvider

Implemented Interfaces:
Handler, Serializable

public class RMIProvider
extends RPCProvider

A basic RMI Provider
Author:
Davanum Srinivas (dims@yahoo.com)

Field Summary

static String
OPTION_INTERFACE_CLASSNAME
static String
OPTION_NAMING_LOOKUP
protected static Log
entLog
protected static Log
log

Fields inherited from class org.apache.axis.providers.java.RPCProvider

log

Fields inherited from class org.apache.axis.providers.java.JavaProvider

OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_SCOPE, entLog, log

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, entLog, log

Fields inherited from class org.apache.axis.handlers.BasicHandler

makeLockable, name, options

Method Summary

protected String
getServiceClassNameOptionName()
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, invokeMethod, processMessage

Methods inherited from class org.apache.axis.providers.java.JavaProvider

getServiceClass, getServiceClassName, getServiceClassNameOptionName, getServiceObject, initServiceDesc, invoke, makeNewServiceObject, processMessage

Methods inherited from class org.apache.axis.providers.BasicProvider

addOperation, generateWSDL, getOperationName, getOperationNames, getOperationQNames, initServiceDesc

Methods inherited from class org.apache.axis.handlers.BasicHandler

canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable

Field Details

OPTION_INTERFACE_CLASSNAME

public static final String OPTION_INTERFACE_CLASSNAME

OPTION_NAMING_LOOKUP

public static final String OPTION_NAMING_LOOKUP

entLog

protected static Log entLog

log

protected static Log log

Method Details

getServiceClassNameOptionName

protected String getServiceClassNameOptionName()
Return the option in the configuration that contains the service class name.
Overrides:
getServiceClassNameOptionName in interface 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

makeNewServiceObject

protected Object makeNewServiceObject(MessageContext msgContext,
                                      String clsName)
            throws Exception
Return a object which implements the service.
Overrides:
makeNewServiceObject in interface JavaProvider
Parameters:
msgContext - the message context
clsName - The JNDI name of the EJB home class
Returns:
an object that implements the service

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.