Interface ServerManagedObjectChangeListener<T extends Configuration>
- Type Parameters:
T- The type of server managed object that this listener should be notified about.
public interface ServerManagedObjectChangeListener<T extends Configuration>
This interface defines the methods that a Directory Server configurable
component should implement if it wishes to be able to receive notifications
when a its associated server managed object is changed.
-
Method Summary
Modifier and TypeMethodDescriptionapplyConfigurationChange(ServerManagedObject<? extends T> mo) Applies the server managed object changes to this change listener.booleanisConfigurationChangeAcceptable(ServerManagedObject<? extends T> mo, List<LocalizableMessage> unacceptableReasons) Indicates whether the proposed change to the server managed object is acceptable to this change listener.
-
Method Details
-
isConfigurationChangeAcceptable
boolean isConfigurationChangeAcceptable(ServerManagedObject<? extends T> mo, List<LocalizableMessage> unacceptableReasons) Indicates whether the proposed change to the server managed object is acceptable to this change listener.- Parameters:
mo- The new server managed object containing the changes.unacceptableReasons- A list that can be used to hold messages about why the provided server managed object is not acceptable.- Returns:
- Returns
trueif the proposed change is acceptable, orfalseif it is not.
-
applyConfigurationChange
Applies the server managed object changes to this change listener.- Parameters:
mo- The new server managed object containing the changes.- Returns:
- Returns information about the result of changing the server managed object.
-