|
IBM Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.cha.ejb.CHAEJBHomeLocalFactory
public class CHAEJBHomeLocalFactory
A generic helper class to both obtain the initial context and look up the home interface for every bean in the application. EJB home interface is looked up in the home interface cache at first. If got nothing, look up it again with the provided JNDI name and save it into the home interface cache for further use.
Constructor Summary | |
---|---|
protected |
CHAEJBHomeLocalFactory()
Method EJBHomeFactory. |
Method Summary | |
---|---|
protected void |
cleanUp()
Clean up memory |
static CHAEJBHomeLocalFactory |
getInstance()
|
static boolean |
isVistFirstTime()
|
javax.ejb.EJBLocalHome |
lookup(java.lang.String jndiName,
java.lang.Class homeInterfaceClass)
Method lookup. |
static void |
setVistFirstTime(boolean b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CHAEJBHomeLocalFactory() throws CHAEJBLookupException
CHAEJBLookupException
Method Detail |
---|
public javax.ejb.EJBLocalHome lookup(java.lang.String jndiName, java.lang.Class homeInterfaceClass) throws CHAEJBLookupException
jndiName
- homeInterfaceClass
-
java.lang.Exception
CHAEJBLookupException
public static CHAEJBHomeLocalFactory getInstance() throws CHAEJBLookupException
DSEInvalidRequestException
CHAEJBLookupException
public static boolean isVistFirstTime()
public static void setVistFirstTime(boolean b)
b
- protected void cleanUp()
|
IBM Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |