Methods Summary |
---|
protected java.lang.String | getServiceClassNameOptionName()Return the option in the configuration that contains the service class
name.
return OPTION_INTERFACE_CLASSNAME;
|
protected java.lang.String | getStrOption(java.lang.String optionName, org.apache.axis.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.
String value = null;
if (service != null)
value = (String) service.getOption(optionName);
if (value == null)
value = (String) getOption(optionName);
return value;
|
protected java.lang.Object | makeNewServiceObject(org.apache.axis.MessageContext msgContext, java.lang.String clsName)Return a object which implements the service.
// Read deployment descriptor options
String namingLookup = getStrOption(OPTION_NAMING_LOOKUP, msgContext.getService());
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
}
Object targetObject = Naming.lookup(namingLookup);
return targetObject;
|