org.apache.axis.providers.java

Class CORBAProvider

Implemented Interfaces:
Handler, Serializable

public class CORBAProvider
extends RPCProvider

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

Field Summary

static String
OPTION_HELPER_CLASSNAME
static String
OPTION_INTERFACE_CLASSNAME
static String
OPTION_NAME_ID
static String
OPTION_NAME_KIND
static String
OPTION_ORB_INITIAL_HOST
static String
OPTION_ORB_INITIAL_PORT
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, createResponseBody, getBody, getOperationDesc, 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_HELPER_CLASSNAME

public static final String OPTION_HELPER_CLASSNAME

OPTION_INTERFACE_CLASSNAME

public static final String OPTION_INTERFACE_CLASSNAME

OPTION_NAME_ID

public static final String OPTION_NAME_ID

OPTION_NAME_KIND

public static final String OPTION_NAME_KIND

OPTION_ORB_INITIAL_HOST

public static final String OPTION_ORB_INITIAL_HOST

OPTION_ORB_INITIAL_PORT

public static final String OPTION_ORB_INITIAL_PORT

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.