Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » proxy » ejb » [javadoc | source]
org.jboss.proxy.ejb
public class: IORFactory [javadoc | source]
java.lang.Object
   org.jboss.proxy.ejb.IORFactory

All Implemented Interfaces:
    EJBProxyFactory

This is an IIOP "proxy factory" for EJBHomes and EJBObjects. 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 EJBObjects.

Method from org.jboss.proxy.ejb.IORFactory Summary:
create,   destroy,   getEJBHome,   getEJBMetaData,   getEntityCollection,   getEntityEJBObject,   getStatefulSessionEJBObject,   getStatelessSessionEJBObject,   isIdentical,   rebind,   rmiRepositoryId,   setContainer,   setInvokerBinding,   setInvokerMetaData,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.proxy.ejb.IORFactory Detail:
 public  void create() throws Exception 
 public  void destroy() 
 public Object getEJBHome() 
 public EJBMetaData getEJBMetaData() 
 public Collection getEntityCollection(Collection ids) 
 public Object getEntityEJBObject(Object id) 
 public Object getStatefulSessionEJBObject(Object id) 
 public Object getStatelessSessionEJBObject() 
 public boolean isIdentical(Container container,
    Invocation mi) 
 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.
 public static String rmiRepositoryId(Class clz) 
    Returns the CORBA repository id of a given the RMI-IDL interface.
 public  void setContainer(Container container) 
 public  void setInvokerBinding(String binding) 
 public  void setInvokerMetaData(InvokerProxyBindingMetaData imd) 
 public  void start() throws Exception 
 public  void stop()