当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 .net API Documentation 英文版文档
EJBHomeProvider (JBoss.Net API) - JBoss 4.0.1 sp1 .net API Documentation 英文版文档
org.jboss.net.axis.server
Class EJBHomeProvider
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.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锟絪 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.
- Version:
- $Revision: 1.5 $
- Author:
- Christoph G. Jung
- See Also:
- Serialized Form
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 |
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 |
EJBHomeProvider
public EJBHomeProvider()
- Creates new EJBProvider
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 contextclsName
- 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 contextbeanJndiName
- 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.