com.ibm.btt.base
Class CHAEJBHomeFactory
java.lang.Object
com.ibm.btt.base.CHAEJBHomeFactory
- public class CHAEJBHomeFactory
- extends java.lang.Object
Method Summary |
protected javax.naming.Context |
getInitialContext(java.lang.String ejbProviderURL)
|
static CHAEJBHomeFactory |
getInstance()
|
static boolean |
isVistFirstTime(java.lang.String ejbProviderURL)
|
javax.ejb.EJBHome |
lookup(java.lang.String jndiName,
java.lang.Class homeInterfaceClass,
java.lang.String ejbProviderURL)
Method lookup. |
static void |
setVistFirstTime(java.lang.String ejbProviderURL,
boolean value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHAEJBHomeFactory
protected CHAEJBHomeFactory()
throws DSEInvalidRequestException
- Method CHAEJBHomeFactory.
This is private, and can't be instantiated directly
lookup
public javax.ejb.EJBHome lookup(java.lang.String jndiName,
java.lang.Class homeInterfaceClass,
java.lang.String ejbProviderURL)
throws DSEInvalidRequestException
- Method lookup.
- Parameters:
jndiName
- homeInterfaceClass
-
- Returns:
- EJBHome
- Throws:
java.lang.Exception
DSEInvalidRequestException
getInitialContext
protected javax.naming.Context getInitialContext(java.lang.String ejbProviderURL)
throws DSEInvalidRequestException
- Throws:
DSEInvalidRequestException
getInstance
public static CHAEJBHomeFactory getInstance()
throws DSEInvalidRequestException
- Throws:
DSEInvalidRequestException
isVistFirstTime
public static boolean isVistFirstTime(java.lang.String ejbProviderURL)
throws DSEInvalidRequestException
- Parameters:
ejbProviderURL
-
- Returns:
- true if it is the first time for this client to visit the
CHA server specified by the parameter ejbProviderURL.
- Throws:
DSEInvalidRequestException
setVistFirstTime
public static void setVistFirstTime(java.lang.String ejbProviderURL,
boolean value)
throws DSEInvalidRequestException
- Throws:
DSEInvalidRequestException
(c) Copyright IBM Corporation 1998, 2005