|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.configuration.Configuration
org.apache.directory.server.protocol.shared.ServiceConfiguration
public abstract class ServiceConfiguration
Base class shared by all protocol providers for configuration.
Field Summary | |
---|---|
static java.lang.String |
APACHE_FACTORY_PID_KEY
|
static java.lang.String |
APACHE_SERVICE_CONFIGURATION
|
static java.lang.String |
APACHE_SERVICE_PID_KEY
|
static java.lang.String |
BUFFER_SIZE_KEY
the prop key const for buffer.size |
static java.lang.String |
CATALOG_BASEDN_KEY
the prop key const for the catalog's base DN |
protected java.util.Map |
configuration
the map of configuration |
static int |
DEFAULT_BUFFER_SIZE
the default buffer size |
static java.lang.String |
DEFAULT_ENTRY_BASEDN
|
static java.lang.String |
DEFAULT_INITIAL_CONTEXT_FACTORY
|
static java.lang.String |
ENTRY_BASEDN_KEY
The key of the property specifying the single location where entries are stored. |
static java.lang.String |
INITIAL_CONTEXT_FACTORY_KEY
|
static java.lang.String |
IP_ADDRESS_KEY
the prop key const for the port |
static java.lang.String |
IP_PORT_KEY
the prop key const for the port |
static int |
MINUTE
the number of milliseconds in a minute |
static java.lang.String |
SERVICE_FACTORYPID
|
static java.lang.String |
SERVICE_PID
|
Fields inherited from class org.apache.directory.server.core.configuration.Configuration |
---|
DEFAULT_INSTANCE_ID, JNDI_KEY |
Constructor Summary | |
---|---|
ServiceConfiguration()
|
Method Summary | |
---|---|
protected java.lang.String |
get(java.lang.String key)
|
java.lang.String |
getCatalogBaseDn()
|
java.lang.String |
getEntryBaseDn()
|
java.lang.String |
getInitialContextFactory()
|
protected void |
loadProperties(java.lang.String prefix,
java.util.Map properties,
int strategy)
|
java.util.Hashtable |
toJndiEnvironment()
Converts this configuration to JNDI environment Hashtable . |
Methods inherited from class org.apache.directory.server.core.configuration.Configuration |
---|
clone, getInstanceId, setInstanceId, toConfiguration, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IP_PORT_KEY
public static final java.lang.String IP_ADDRESS_KEY
public static final java.lang.String CATALOG_BASEDN_KEY
public static final java.lang.String ENTRY_BASEDN_KEY
public static final java.lang.String INITIAL_CONTEXT_FACTORY_KEY
public static final java.lang.String APACHE_SERVICE_PID_KEY
public static final java.lang.String APACHE_FACTORY_PID_KEY
public static final java.lang.String BUFFER_SIZE_KEY
public static final java.lang.String DEFAULT_ENTRY_BASEDN
public static final java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
public static final java.lang.String APACHE_SERVICE_CONFIGURATION
public static final java.lang.String SERVICE_PID
public static final java.lang.String SERVICE_FACTORYPID
public static final int DEFAULT_BUFFER_SIZE
public static final int MINUTE
protected java.util.Map configuration
Constructor Detail |
---|
public ServiceConfiguration()
Method Detail |
---|
public java.lang.String getCatalogBaseDn()
public java.lang.String getEntryBaseDn()
public java.lang.String getInitialContextFactory()
public java.util.Hashtable toJndiEnvironment()
Configuration
Hashtable
.
This method simple returns a Hashtable
that contains an entry
whose key is Configuration.JNDI_KEY
and whose value is this.
toJndiEnvironment
in class Configuration
protected void loadProperties(java.lang.String prefix, java.util.Map properties, int strategy)
protected java.lang.String get(java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |