|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.jndi2.haclient.HANamingContextFactory
public class HANamingContextFactory
Constructor Summary | |
---|---|
HANamingContextFactory()
|
Method Summary | |
---|---|
private static java.lang.String |
getEnvProperty(java.util.Hashtable env,
java.lang.String propName)
|
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
|
static NamingConnection |
getNamingConnection(java.util.Hashtable env)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HANamingContextFactory()
Method Detail |
---|
public javax.naming.Context getInitialContext(java.util.Hashtable env) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
env
- This contains the hostname and the port.
javax.naming.NamingException
- Thrown if the host and port properties
aren't strings, if the port string does not represent a valid number,
or if an exception is thrown from the NamingContext constructor.private static java.lang.String getEnvProperty(java.util.Hashtable env, java.lang.String propName)
public static NamingConnection getNamingConnection(java.util.Hashtable env) throws javax.naming.NamingException
javax.naming.NamingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |