org.pfsw.tools.beluga.ldap.directory
Class DirectoryConfiguration

java.lang.Object
  extended by org.pfsw.tools.beluga.ldap.directory.DirectoryConfiguration
Direct Known Subclasses:
XmlDirectoryConfiguration

public class DirectoryConfiguration
extends Object

Contains all information that is necessary to load and start the directory. That includes a rule to recognize container objects, suffixes and the LDIF files containing the data.

Version:
1.0
Author:
M.Duchrow

Constructor Summary
DirectoryConfiguration()
          Initialize the new instance with default values.
 
Method Summary
 void addDataSource(DirectoryDataFile dataFile)
          Add the given data source to the internal list of data files
 void addSuffix(String suffix)
          Add the given suffix to the internal list of suffixes
 org.pf.text.MatchRule getContainerRule()
           
 DirectoryDataFile[] getDataFiles()
          Returns the data files that must be loaded into the directory server.
 org.pf.directory.DistinguishedName[] getSuffixes()
          Returns the suffixes to be supported by the directory server.
 void setContainerRecognizingRule(String rule)
          Set the rule that will be used to recognize container objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryConfiguration

public DirectoryConfiguration()
Initialize the new instance with default values.

Method Detail

getContainerRule

public org.pf.text.MatchRule getContainerRule()

setContainerRecognizingRule

public void setContainerRecognizingRule(String rule)
Set the rule that will be used to recognize container objects. That is necessary to do proper DN parsing and associating with DIT nodes.


addSuffix

public void addSuffix(String suffix)
Add the given suffix to the internal list of suffixes


addDataSource

public void addDataSource(DirectoryDataFile dataFile)
Add the given data source to the internal list of data files


getDataFiles

public DirectoryDataFile[] getDataFiles()
Returns the data files that must be loaded into the directory server.


getSuffixes

public org.pf.directory.DistinguishedName[] getSuffixes()
Returns the suffixes to be supported by the directory server.



Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.