当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 iiop API Documentation 英文版文档
IORFactory (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档
org.jboss.proxy.ejb
Class IORFactory
java.lang.Object
org.jboss.proxy.ejb.IORFactory
- All Implemented Interfaces:
- org.jboss.ejb.AllowedOperationsFlags, 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.14 $
Nested classes inherited from class org.jboss.ejb.GenericEntityObjectFactory |
org.jboss.ejb.GenericEntityObjectFactory.UTIL |
Fields inherited from interface org.jboss.ejb.AllowedOperationsFlags |
IN_AFTER_BEGIN, IN_AFTER_COMPLETION, IN_BEFORE_COMPLETION, IN_BUSINESS_METHOD, IN_EJB_ACTIVATE, IN_EJB_CREATE, IN_EJB_FIND, IN_EJB_HOME, IN_EJB_LOAD, IN_EJB_PASSIVATE, IN_EJB_POST_CREATE, IN_EJB_REMOVE, IN_EJB_STORE, IN_EJB_TIMEOUT, IN_INTERCEPTOR_METHOD, IN_SERVICE_ENDPOINT_METHOD, IN_SET_ENTITY_CONTEXT, IN_SET_MESSAGE_DRIVEN_CONTEXT, IN_SET_SESSION_CONTEXT, IN_UNSET_ENTITY_CONTEXT, NOT_ALLOWED |
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)
- Specified by:
isIdentical
in interface org.jboss.ejb.EJBProxyFactory
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.