pl.slawas.helper.jndi
Interface JndiParameters


public interface JndiParameters


Field Summary
static java.lang.String ANDRO_INITIAL_CONTEXT_FACTORY
          Constant that holds the name of the environment property for specifying the initial context factory to use.
static java.lang.String ANDRO_JNP_DISABLEDISCOVERY
          Automatic Discovery of HA-JNDI Servers Constant that holds the name of flag indicating that the discovery process should not be attempted.
static java.lang.String ANDRO_PROVIDER_URL
          Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
static java.lang.String ANDRO_URL_PKG_PRFIXES
          Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories.
static java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
           
static java.lang.String DEFAULT_JNP_DISABLEDISCOVERY
           
static java.lang.String DEFAULT_PROVIDER_URL
           
static java.lang.String DEFAULT_URL_PKG_PRFIXES
           
static java.lang.String JNP_DISABLEDISCOVERY
          Automatic Discovery of HA-JNDI Servers Constant that holds the name of flag indicating that the discovery process should not be attempted.
 
Method Summary
 java.lang.String getInitialContextFactory()
           
 java.util.Hashtable getJndiEnv()
           
 java.lang.String getJnpDisableDiscovery()
           
 java.lang.String getProviderUrl()
           
 java.lang.String getUrlPkgPrefixes()
           
 

Field Detail

ANDRO_JNP_DISABLEDISCOVERY

static final java.lang.String ANDRO_JNP_DISABLEDISCOVERY
Automatic Discovery of HA-JNDI Servers Constant that holds the name of flag indicating that the discovery process should not be attempted. The value of this constant is "andro.jnp.disableDiscovery"

See Also:
Constant Field Values

ANDRO_PROVIDER_URL

static final java.lang.String ANDRO_PROVIDER_URL
Constant that holds the name of the environment property for specifying configuration information for the service provider to use. The value of the property should contain a URL string (e.g. "ldap://somehost:389"). This property may be specified in the environment, an applet parameter, a system property, or a resource file. If it is not specified in any of these sources, the default configuration is determined by the service provider. The value of this constant is "andro.naming.provider.url".

See Also:
Constant Field Values

ANDRO_URL_PKG_PRFIXES

static final java.lang.String ANDRO_URL_PKG_PRFIXES
Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories. The value of the property should be a colon-separated list of package prefixes for the class name of the factory class that will create a URL context factory. This property may be specified in the environment, an applet parameter, a system property, or one or more resource files. The prefix com.sun.jndi.url is always appended to the possibly empty list of package prefixes. The value of this constant is "andro.naming.factory.url.pkgs".

See Also:
Constant Field Values

ANDRO_INITIAL_CONTEXT_FACTORY

static final java.lang.String ANDRO_INITIAL_CONTEXT_FACTORY
Constant that holds the name of the environment property for specifying the initial context factory to use. The value of the property should be the fully qualified class name of the factory class that will create an initial context. This property may be specified in the environment parameter passed to the initial context constructor, an applet parameter, a system property, or an application resource file. If it is not specified in any of these sources, NoInitialContextException is thrown when an initial context is required to complete an operation. The value of this constant is "andro.naming.factory.initial".

See Also:
Constant Field Values

JNP_DISABLEDISCOVERY

static final java.lang.String JNP_DISABLEDISCOVERY
Automatic Discovery of HA-JNDI Servers Constant that holds the name of flag indicating that the discovery process should not be attempted. The value of this constant is "jnp.disableDiscovery"

See Also:
Constant Field Values

DEFAULT_JNP_DISABLEDISCOVERY

static final java.lang.String DEFAULT_JNP_DISABLEDISCOVERY
See Also:
Constant Field Values

DEFAULT_PROVIDER_URL

static final java.lang.String DEFAULT_PROVIDER_URL
See Also:
Constant Field Values

DEFAULT_URL_PKG_PRFIXES

static final java.lang.String DEFAULT_URL_PKG_PRFIXES
See Also:
Constant Field Values

DEFAULT_INITIAL_CONTEXT_FACTORY

static final java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
See Also:
Constant Field Values
Method Detail

getJnpDisableDiscovery

java.lang.String getJnpDisableDiscovery()

getProviderUrl

java.lang.String getProviderUrl()

getUrlPkgPrefixes

java.lang.String getUrlPkgPrefixes()

getInitialContextFactory

java.lang.String getInitialContextFactory()

getJndiEnv

java.util.Hashtable getJndiEnv()


Copyright © 2014 Sci Software. All Rights Reserved.