net.nplus1.anduril.server.util
Class EJBLocalHomeFactory

java.lang.Object
  extended bynet.nplus1.anduril.server.util.EJBLocalHomeFactory

public class EJBLocalHomeFactory
extends java.lang.Object

EJB home interface factory. Keeps a hashmap cache of EJBLocalHomes.


Method Summary
static EJBLocalHomeFactory getFactory()
          Gets the singleton instance.
 javax.ejb.EJBLocalHome lookupHome(java.lang.Class homeClass)
          Lookup and cache an EJBLocalHome using the home class name.
 javax.ejb.EJBLocalHome lookupHome(java.lang.Class homeClass, java.lang.String jndiName)
          Lookup and cache an EJBLocalHome using the JNDI name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public static EJBLocalHomeFactory getFactory()
                                      throws HomeFactoryException
Gets the singleton instance.

Throws:
HomeFactoryException

lookupHome

public javax.ejb.EJBLocalHome lookupHome(java.lang.Class homeClass)
                                  throws HomeFactoryException
Lookup and cache an EJBLocalHome using the home class name.

Throws:
HomeFactoryException

lookupHome

public javax.ejb.EJBLocalHome lookupHome(java.lang.Class homeClass,
                                         java.lang.String jndiName)
                                  throws HomeFactoryException
Lookup and cache an EJBLocalHome using the JNDI name.

Throws:
HomeFactoryException