org.apache.axis.providers.java
Class EJBProvider
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.EJBProvider
- All Implemented Interfaces:
- Handler, java.io.Serializable
- public class EJBProvider
- extends RPCProvider
A basic EJB Provider
- Author:
- Carl Woolf (cwoolf@macromedia.com), Tom Jordahl (tomj@macromedia.com)
- See Also:
- Serialized Form
Fields inherited from class org.apache.axis.providers.java.RPCProvider |
log |
Method Summary |
protected java.lang.Object |
getNewServiceObject(MessageContext msgContext,
java.lang.String clsName)
Return a object which implements the service. |
protected java.lang.Class |
getServiceClass(MessageContext msgContext,
java.lang.String beanJndiName)
Get the class description for the EJB Remote Interface, which is what
we are interested in exposing to the world (i.e. |
protected java.lang.String |
getServiceClassNameOptionName()
Return the option in the configuration that contains the service class
name. |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jndiContextClass
public static final java.lang.String jndiContextClass
jndiURL
public static final java.lang.String jndiURL
jndiUsername
public static final java.lang.String jndiUsername
jndiPassword
public static final java.lang.String jndiPassword
cached_context
public static javax.naming.InitialContext cached_context
empty_class_array
public static final java.lang.Class[] empty_class_array
empty_object_array
public static final java.lang.Object[] empty_object_array
EJBProvider
public EJBProvider()
getNewServiceObject
protected java.lang.Object getNewServiceObject(MessageContext msgContext,
java.lang.String clsName)
throws java.lang.Exception
- Return a object which implements the service.
- Overrides:
getNewServiceObject
in class JavaProvider
- Parameters:
msgContext
- the message contextclsName
- The JNDI name of the EJB home class- Returns:
- an object that implements the service
getServiceClassNameOptionName
protected java.lang.String getServiceClassNameOptionName()
- Return the option in the configuration that contains the service class
name. In the EJB case, it is the JNDI name of the bean.
- Overrides:
getServiceClassNameOptionName
in class JavaProvider
getServiceClass
protected java.lang.Class getServiceClass(MessageContext msgContext,
java.lang.String beanJndiName)
throws java.lang.Exception
- Get the class description for the EJB Remote Interface, which is what
we are interested in exposing to the world (i.e. in WSDL).
- Overrides:
getServiceClass
in class JavaProvider
- Parameters:
msgContext
- the message contextbeanJndiName
- the JNDI name of the EJB- Returns:
- the class info of the EJB remote interface
Copyright © 2001 Apache XML Project. All Rights Reserved.