站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 .net API Documentation 英文版文档

EJBHomeProvider (JBoss.Net API) - JBoss 3.2.7 .net API Documentation 英文版文档


org.jboss.net.axis.server
Class EJBHomeProvider

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.apache.axis.providers.BasicProvider
          extended byorg.apache.axis.providers.java.JavaProvider
              extended byorg.apache.axis.providers.java.RPCProvider
                  extended byorg.jboss.net.axis.server.EJBHomeProvider
All Implemented Interfaces:
org.apache.axis.Handler, Serializable

public class EJBHomeProvider
extends org.apache.axis.providers.java.RPCProvider

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

Version:
$Revision: 1.1.4.2 $
Author:
Christoph G. Jung
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.providers.java.RPCProvider
RPC_INVOCATION
 
Fields inherited from class org.apache.axis.providers.java.JavaProvider
OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_CLASSPATH, OPTION_IS_STATIC, OPTION_SCOPE, 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
 
Constructor Summary
EJBHomeProvider()
          Creates new EJBProvider
 
Method Summary
protected  Object getNewServiceObject(org.apache.axis.MessageContext msgContext, String clsName)
          Return the object which implements the service.
protected  Class getServiceClass(org.apache.axis.MessageContext msgContext, 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  String getServiceClassNameOptionName()
          Return the option in the configuration that contains the service class name.
 
Methods inherited from class org.apache.axis.providers.java.RPCProvider
checkMethodName, createRPCInvocation, invokeMethod, invokeTarget, processMessage
 
Methods inherited from class org.apache.axis.providers.java.JavaProvider
generateWSDL, getServiceClass, getServiceClassName, getServiceObject, initServiceDesc, invoke, makeNewServiceObject, processException
 
Methods inherited from class org.apache.axis.providers.BasicProvider
addOperation, 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
 

Constructor Detail

EJBHomeProvider

public EJBHomeProvider()
Creates new EJBProvider

Method Detail

getNewServiceObject

protected Object getNewServiceObject(org.apache.axis.MessageContext msgContext,
                                     String clsName)
                              throws 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 context
clsName - The JNDI name of the EJB home class
Returns:
an object that implements the service
Throws:
Exception

getServiceClassNameOptionName

protected 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.


getServiceClass

protected Class getServiceClass(org.apache.axis.MessageContext msgContext,
                                String beanJndiName)
                         throws 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 context
beanJndiName - the JNDI name of the EJB
Returns:
the class info of the EJB home interface
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.