|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openfjord.business.EJBHomeFactory
This class caches the local home interface references
Method Summary | |
void |
clear()
empties the home reference cache. |
static EJBHomeFactory |
getFactory()
singleton method to retrieve a reference to the home factory |
javax.ejb.EJBHome |
lookupHome(java.lang.Class homeClass,
java.lang.String jndiName)
lookup for a remote home reference |
javax.ejb.EJBLocalHome |
lookupLocalHome(java.lang.Class homeClass,
java.lang.String jndiName)
lookup for a local home reference |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static EJBHomeFactory getFactory() throws EJBHomeFactoryException
EJBHomeFactoryException
- if an NamingEpublic javax.ejb.EJBLocalHome lookupLocalHome(java.lang.Class homeClass, java.lang.String jndiName) throws EJBHomeFactoryException
homeClass
- home class of the beanjndiName
- of the bean
EJBHomeFactoryException
- if a ClassCastException or an NamingException occurspublic javax.ejb.EJBHome lookupHome(java.lang.Class homeClass, java.lang.String jndiName) throws EJBHomeFactoryException
homeClass
- class of the remote interfacejndiName
- of the bean
EJBHomeFactoryException
- if a ClassCastException or an NamingException occurspublic void clear()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |