org.jboss.net.axis.server
Class EJBHomeProvider
java.lang.Object
  
org.jboss.axis.handlers.BasicHandler (src) 
      
org.jboss.axis.providers.BasicProvider (src) 
          
org.jboss.axis.providers.java.JavaProvider (src) 
              
org.jboss.axis.providers.java.RPCProvider (src) 
                  
org.jboss.net.axis.server.EJBHomeProvider
- All Implemented Interfaces: 
 - Handler (src) 
 
- public class EJBHomeProvider
- extends RPCProvider (src) 
  
A JBoss-compatible Provider that exposes the methods of
 a beanīs home, such as a stateless session bean or an entity
 bean. It is working under the presumption that the right classloader 
 has already been set by the invocation chain 
 (@see org.jboss.net.axis.SetClassLoaderHandler).
 
 
Change History
 
 
 To Do
 
 -  jung, 22.03.02: Service-Reference serialisation. 
 
 
 
 
 
 
 
| 
Method Summary | 
protected  java.lang.Object | 
getNewServiceObject(MessageContext (src)  msgContext,
                    java.lang.String clsName)
 
          Return the object which implements the service. | 
protected  java.lang.Class | 
getServiceClass(MessageContext (src)  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.jboss.axis.handlers.BasicHandler (src)  | 
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 | 
 
EJBHomeProvider
public EJBHomeProvider()
- Creates new EJBProvider
 
getNewServiceObject
protected java.lang.Object getNewServiceObject(MessageContext (src)  msgContext,
                                               java.lang.String clsName)
                                        throws java.lang.Exception
- Return the object which implements the service. Makes the usual
 JNDI->lookup call wo the  PortableRemoteDaDaDa for the sake of Corba.
- Parameters:
 msgContext - the message contextclsName - The JNDI name of the EJB home class
- Returns:
 - an object that implements the service
 - Throws:
 java.lang.Exception
 
 
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 (src) 
 
 
 
getServiceClass
protected java.lang.Class getServiceClass(MessageContext (src)  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).
- Parameters:
 msgContext - the message contextbeanJndiName - the JNDI name of the EJB
- Returns:
 - the class info of the EJB home interface
 - Throws:
 java.lang.Exception