当前页面:
在线文档首页 >
JBoss 3.2.7 iiop API Documentation 英文版文档
IORFactory (JBoss IIOP Plugin API) - JBoss 3.2.7 iiop API Documentation 英文版文档
org.jboss.proxy.ejb
Class IORFactory
java.lang.Object
org.jboss.proxy.ejb.IORFactory
- All Implemented Interfaces:
- org.jboss.ejb.ContainerPlugin, org.jboss.ejb.EJBProxyFactory, org.jboss.ejb.GenericEntityObjectFactory, org.jboss.system.Service
- public class IORFactory
- extends Object
- implements org.jboss.ejb.EJBProxyFactory
This is an IIOP "proxy factory" for EJBHome
s and
EJBObject
s. Rather than creating Java proxies (as the JRMP
proxy factory does), this factory creates CORBA IORs.
An IORFactory
is associated to a given enterprise bean. It
registers with the IIOP invoker two CORBA servants: an
EjbHomeCorbaServant
for the bean's
EJBHome
and an EjbObjectCorbaServant
for the
bean's EJBObject
s.
- Version:
- $Revision: 1.5.2.2 $
Nested classes inherited from class org.jboss.ejb.GenericEntityObjectFactory |
org.jboss.ejb.GenericEntityObjectFactory.UTIL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IORFactory
public IORFactory()
setContainer
public void setContainer(org.jboss.ejb.Container container)
- Specified by:
setContainer
in interface org.jboss.ejb.ContainerPlugin
create
public void create()
throws Exception
- Specified by:
create
in interface org.jboss.system.Service
- Throws:
Exception
start
public void start()
throws Exception
- Specified by:
start
in interface org.jboss.system.Service
- Throws:
Exception
stop
public void stop()
- Specified by:
stop
in interface org.jboss.system.Service
destroy
public void destroy()
- Specified by:
destroy
in interface org.jboss.system.Service
setInvokerMetaData
public void setInvokerMetaData(org.jboss.metadata.InvokerProxyBindingMetaData imd)
- Specified by:
setInvokerMetaData
in interface org.jboss.ejb.EJBProxyFactory
setInvokerBinding
public void setInvokerBinding(String binding)
- Specified by:
setInvokerBinding
in interface org.jboss.ejb.EJBProxyFactory
isIdentical
public boolean isIdentical(org.jboss.ejb.Container container,
org.jboss.invocation.Invocation mi)
getEJBMetaData
public javax.ejb.EJBMetaData getEJBMetaData()
- Specified by:
getEJBMetaData
in interface org.jboss.ejb.EJBProxyFactory
getEJBHome
public Object getEJBHome()
- Specified by:
getEJBHome
in interface org.jboss.ejb.EJBProxyFactory
getStatelessSessionEJBObject
public Object getStatelessSessionEJBObject()
- Specified by:
getStatelessSessionEJBObject
in interface org.jboss.ejb.EJBProxyFactory
getStatefulSessionEJBObject
public Object getStatefulSessionEJBObject(Object id)
- Specified by:
getStatefulSessionEJBObject
in interface org.jboss.ejb.EJBProxyFactory
getEntityEJBObject
public Object getEntityEJBObject(Object id)
- Specified by:
getEntityEJBObject
in interface org.jboss.ejb.EJBProxyFactory
getEntityCollection
public Collection getEntityCollection(Collection ids)
- Specified by:
getEntityCollection
in interface org.jboss.ejb.EJBProxyFactory
rmiRepositoryId
public static String rmiRepositoryId(Class clz)
- Returns the CORBA repository id of a given the RMI-IDL interface.
rebind
public static void rebind(NamingContextExt ctx,
String strName,
Object obj)
throws Exception
- (Re)binds an object to a name in a given CORBA naming context, creating
any non-existent intermediate contexts along the way.
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.