fr.dyade.aaa.jndi2.client
Class NamingContextFactory
java.lang.Object
fr.dyade.aaa.jndi2.client.NamingContextFactory
- InitialContextFactory
public class NamingContextFactory
extends java.lang.Object
implements InitialContextFactory
static String | JAVA_HOST_PROPERTY - This property which defines the host name must be passed
when creating an initial context using this factory.
|
static String | JAVA_PORT_PROPERTY - This property which defines the listener port must be passed
when creating an initial context using this factory.
|
static String | SCN_HOST_PROPERTY - Specific property.
|
static String | SCN_PORT_PROPERTY - Specific property.
|
static String | SCN_PROVIDER_URL - Specific property.
|
JAVA_HOST_PROPERTY
public static final String JAVA_HOST_PROPERTY
This property which defines the host name must be passed
when creating an initial context using this factory.
JAVA_PORT_PROPERTY
public static final String JAVA_PORT_PROPERTY
This property which defines the listener port must be passed
when creating an initial context using this factory.
SCN_HOST_PROPERTY
public static final String SCN_HOST_PROPERTY
Specific property. It is useful when several naming provider use
the same property.
SCN_PORT_PROPERTY
public static final String SCN_PORT_PROPERTY
Specific property. It is useful when several naming provider use
the same property.
SCN_PROVIDER_URL
public static final String SCN_PROVIDER_URL
Specific property. It is useful when several naming provider use
the same property.
getInitialContext
public Context getInitialContext(Hashtable env)
throws NamingException
env
- This contains the hostname and the port.
- A JNDI initial context.
getNamingConnection
public static NamingConnection getNamingConnection(Hashtable env)
throws NamingException
Copyright B) 2004 Scalagent - All rights reserved