Interface ConfigAddListener
public interface ConfigAddListener
This interface defines the methods that a Directory Server component should
implement if it wishes to be able to receive notification of new entries
added below a configuration entry.
-
Method Summary
Modifier and TypeMethodDescriptionapplyConfigurationAdd(Entry configEntry) Attempts to apply a new configuration based on the provided added entry.booleanconfigAddIsAcceptable(Entry configEntry, LocalizableMessageBuilder unacceptableReason) Indicates whether the configuration entry that will result from a proposed add is acceptable to this add listener.
-
Method Details
-
configAddIsAcceptable
Indicates whether the configuration entry that will result from a proposed add is acceptable to this add listener.- Parameters:
configEntry- The configuration entry that will result from the requested add.unacceptableReason- A buffer to which this method can append a human-readable message explaining why the proposed entry is not acceptable.- Returns:
trueif the proposed entry contains an acceptable configuration, orfalseif it does not.
-
applyConfigurationAdd
Attempts to apply a new configuration based on the provided added entry.- Parameters:
configEntry- The new configuration entry that contains the configuration to apply.- Returns:
- Information about the result of processing the configuration change.
-