Interface ConfigurationDeleteListener<T extends Configuration>

Type Parameters:
T - The type of configuration that this listener should be notified about.
All Known Implementing Classes:
AbstractLogger, AccessControlConfigManager, AccessLogger, AccountStatusNotificationHandlerConfigManager, AlertHandlerConfigManager, BackendConfigManager, CertificateMapperConfigManager, ConnectionHandlerConfigManager, EntryCacheConfigManager, ErrorLogger, ExtendedOperationConfigManager, HTTPAccessLogger, HttpEndpointConfigManager, IdentityMapperConfigManager, KeyManagerProviderConfigManager, LoggerConfigManager, LogRetentionPolicyConfigManager, LogRotationPolicyConfigManager, MultimasterReplication, PasswordGeneratorConfigManager, PasswordStorageSchemeConfigManager, PasswordValidatorConfigManager, PluginConfigManager, SASLConfigManager, SchemaHandler, ServiceDiscoveryMechanismConfigManager, SynchronizationProviderConfigManager, TrustManagerProviderConfigManager, VirtualAttributeConfigManager

public interface ConfigurationDeleteListener<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 an existing configuration is deleted.
  • Method Details

    • isConfigurationDeleteAcceptable

      boolean isConfigurationDeleteAcceptable(T configuration, List<LocalizableMessage> unacceptableReasons)
      Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.
      Parameters:
      configuration - The configuration that will be deleted.
      unacceptableReasons - A list that can be used to hold messages about why the provided configuration is not acceptable.
      Returns:
      Returns true if the proposed deletion is acceptable, or false if it is not.
    • applyConfigurationDelete

      ConfigChangeResult applyConfigurationDelete(T configuration)
      Deletes an existing configuration from this delete listener.
      Parameters:
      configuration - The existing configuration that will be deleted.
      Returns:
      Returns information about the result of deleting the configuration.