Interface ConfigChangeListener
public interface ConfigChangeListener
This interface defines the methods that a Directory Server component should
implement if it wishes to be able to receive notification of changes to a
configuration entry.
-
Method Summary
Modifier and TypeMethodDescriptionapplyConfigurationChange(Entry configEntry) Attempts to apply a new configuration to this Directory Server component based on the provided changed entry.booleanconfigChangeIsAcceptable(Entry configEntry, LocalizableMessageBuilder unacceptableReason) Indicates whether the configuration entry that will result from a proposed modification is acceptable to this change listener.
-
Method Details
-
configChangeIsAcceptable
Indicates whether the configuration entry that will result from a proposed modification is acceptable to this change listener.- Parameters:
configEntry- The configuration entry that will result from the requested update.unacceptableReason- A buffer to which this method can append a human-readable message explaining why the proposed change is not acceptable.- Returns:
trueif the proposed entry contains an acceptable configuration, orfalseif it does not.
-
applyConfigurationChange
Attempts to apply a new configuration to this Directory Server component based on the provided changed entry.- Parameters:
configEntry- The configuration entry that containing the updated configuration for this component.- Returns:
- Information about the result of processing the configuration change.
-