org.apache.directory.server.core
Interface DirectoryServiceConfiguration


public interface DirectoryServiceConfiguration

Represents the global configuration of currently running DirectoryService. You can access all properties of DirectoryService and get JNDI Contexts it provides via this interface.


Method Summary
 java.util.Hashtable getEnvironment()
          Returns the initial context environment of the DirectoryService.
 GlobalRegistries getGlobalRegistries()
          Returns the registries for system schema objects of the DirectoryService.
 java.lang.String getInstanceId()
          Returns the instance ID of the DirectoryService.
 InterceptorChain getInterceptorChain()
          Returns the interceptor chain of the DirectoryService.
 PartitionNexus getPartitionNexus()
          Returns the PartitionNexus of the DirectoryService which bypasses the interceptor chain.
 DirectoryService getService()
          Returns the DirectoryService for this configuration.
 DirectoryServiceListener getServiceListener()
          Returns the listener that listens to service events.
 StartupConfiguration getStartupConfiguration()
          Returns the startup configuration of the DirectoryService.
 boolean isFirstStart()
          Returns true if this service is started and bootstrap entries have been created for the first time.
 

Method Detail

getService

public DirectoryService getService()
Returns the DirectoryService for this configuration.


getInstanceId

public java.lang.String getInstanceId()
Returns the instance ID of the DirectoryService.


getServiceListener

public DirectoryServiceListener getServiceListener()
Returns the listener that listens to service events.


getEnvironment

public java.util.Hashtable getEnvironment()
Returns the initial context environment of the DirectoryService.


getStartupConfiguration

public StartupConfiguration getStartupConfiguration()
Returns the startup configuration of the DirectoryService.


getGlobalRegistries

public GlobalRegistries getGlobalRegistries()
Returns the registries for system schema objects of the DirectoryService.


getPartitionNexus

public PartitionNexus getPartitionNexus()
Returns the PartitionNexus of the DirectoryService which bypasses the interceptor chain.


getInterceptorChain

public InterceptorChain getInterceptorChain()
Returns the interceptor chain of the DirectoryService.


isFirstStart

public boolean isFirstStart()
Returns true if this service is started and bootstrap entries have been created for the first time.