org.objectweb.jonas_ejb.container
Class HomeFactory

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.container.HomeFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class HomeFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

This Factory return Home or LocalHome objects to clients. No need to use it in case of RMI Remote Home because Remote References are registered directly in JNDI. This class should be used only for local Home or in case of RMI IIOP Remote Home.


Constructor Summary
HomeFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeFactory

public HomeFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object refObj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable env)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory