|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.configuration.DirectoryPartitionConfiguration
public class DirectoryPartitionConfiguration
A configuration for DirectoryPartition
.
Field Summary | |
---|---|
static java.lang.String |
SYSTEM_PARTITION_NAME
The name of reserved system partition |
Constructor Summary | |
---|---|
protected |
DirectoryPartitionConfiguration()
Creates a new instance. |
Method Summary | |
---|---|
javax.naming.directory.Attributes |
getContextEntry()
Returns root entry that will be added to the DirectoryPartition
after it is initialized. |
DirectoryPartition |
getContextPartition()
Returns the DirectoryPartition that this configuration configures. |
java.util.Set |
getIndexedAttributes()
Returns the set of attribute type strings to create an index on. |
java.lang.String |
getName()
Returns user-defined name of the DirectoryPartition that
this configuration configures. |
javax.naming.Name |
getNormalizedSuffix(MatchingRuleRegistry matchingRuleRegistry)
Returns the normalized suffix of the DirectoryPartition . |
javax.naming.Name |
getNormalizedSuffix(org.apache.ldap.common.schema.Normalizer normalizer)
Returns the normalized suffix of the DirectoryPartition . |
java.lang.String |
getSuffix()
Returns the suffix of the DirectoryPartition . |
protected void |
setContextEntry(javax.naming.directory.Attributes rootEntry)
Sets root entry that will be added to the DirectoryPartition
after it is initialized. |
protected void |
setContextPartition(DirectoryPartition partition)
Sets the DirectoryPartition that this configuration configures. |
protected void |
setIndexedAttributes(java.util.Set indexedAttributes)
Sets the set of attribute type strings to create an index on. |
protected void |
setName(java.lang.String name)
Sets user-defined name of the DirectoryPartition that
this configuration configures. |
protected void |
setSuffix(java.lang.String suffix)
Sets the suffix of the DirectoryPartition . |
void |
validate()
Validates this configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SYSTEM_PARTITION_NAME
Constructor Detail |
---|
protected DirectoryPartitionConfiguration()
Method Detail |
---|
public java.lang.String getName()
DirectoryPartition
that
this configuration configures.
protected void setName(java.lang.String name)
DirectoryPartition
that
this configuration configures.
public java.util.Set getIndexedAttributes()
protected void setIndexedAttributes(java.util.Set indexedAttributes)
public DirectoryPartition getContextPartition()
DirectoryPartition
that this configuration configures.
protected void setContextPartition(DirectoryPartition partition)
DirectoryPartition
that this configuration configures.
public javax.naming.directory.Attributes getContextEntry()
DirectoryPartition
after it is initialized.
protected void setContextEntry(javax.naming.directory.Attributes rootEntry)
DirectoryPartition
after it is initialized.
public java.lang.String getSuffix()
DirectoryPartition
.
public javax.naming.Name getNormalizedSuffix(MatchingRuleRegistry matchingRuleRegistry) throws javax.naming.NamingException
DirectoryPartition
.
javax.naming.NamingException
public javax.naming.Name getNormalizedSuffix(org.apache.ldap.common.schema.Normalizer normalizer) throws javax.naming.NamingException
DirectoryPartition
.
javax.naming.NamingException
protected void setSuffix(java.lang.String suffix)
DirectoryPartition
.
public void validate()
ConfigurationException
- if this configuration is not valid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |