org.objectweb.jonas.ws.axis
Class JOnASEJBProvider
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.objectweb.jonas.ws.axis.JOnASEJBProvider
- All Implemented Interfaces:
- org.apache.axis.Handler, java.io.Serializable
- public class JOnASEJBProvider
- extends org.apache.axis.providers.java.RPCProvider
- Author:
- Guillaume Sauthier
- See Also:
- Serialized Form
Fields inherited from class org.apache.axis.providers.java.RPCProvider |
log |
Fields inherited from class org.apache.axis.providers.java.JavaProvider |
entLog, OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_SCOPE |
Fields inherited from class org.apache.axis.providers.BasicProvider |
OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_TARGETNAMESPACE |
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Method Summary |
protected javax.naming.InitialContext |
getCachedContext()
|
protected java.lang.String |
getServiceClassNameOptionName()
|
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. |
protected java.lang.Object |
makeNewServiceObject(org.apache.axis.MessageContext msgContext,
java.lang.String seiName)
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, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_SEINTERFACENAME
public static final java.lang.String OPTION_SEINTERFACENAME
- parameter service-endpoint class name
- See Also:
- Constant Field Values
OPTION_SEJNDINAME
public static final java.lang.String OPTION_SEJNDINAME
- parameter service-endpoint JNDI name
- See Also:
- Constant Field Values
JOnASEJBProvider
public JOnASEJBProvider()
- Create a new JOnASEJBProvider
makeNewServiceObject
protected java.lang.Object makeNewServiceObject(org.apache.axis.MessageContext msgContext,
java.lang.String seiName)
throws java.lang.Exception
- Return a object which implements the service.
- Parameters:
msgContext
- the message contextseiName
- The Service Endpoint Interface classname
- Returns:
- an object that implements the service
- Throws:
java.lang.Exception
- when trying to create a Serviceobject without serviceendpoint name aprameter
getServiceClassNameOptionName
protected java.lang.String getServiceClassNameOptionName()
- Returns:
- Return the option in the configuration that contains the service class
name. In the EJB case, it is the JNDI name of the bean.
getStrOption
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.
- Parameters:
optionName
- the option to retrieveservice
- Option holder
- Returns:
- String the value of the option or null if not found in either
scope
getCachedContext
protected javax.naming.InitialContext getCachedContext()
throws javax.naming.NamingException
- Returns:
- Returns the cached InitialContext (or created a new one)
- Throws:
javax.naming.NamingException
- when InitialContext creation fails