OPENDJ-1235: Migrate configuration framework
* remove config ref guide as it should be part of the server
* relocate some classes and interfaces
* remove some redundant methods.
6 files deleted
7 files renamed
42 files modified
| | |
| | | * definition was abstract. |
| | | * @see DefinitionResolver |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | public final ManagedObjectDefinition<? extends C, ? extends S> resolveManagedObjectDefinition(DefinitionResolver r) |
| | | throws DefinitionDecodingException { |
| | | AbstractManagedObjectDefinition<? extends C, ? extends S> rd; |
| | |
| | | |
| | | import static com.forgerock.opendj.ldap.AdminMessages.*; |
| | | import static com.forgerock.opendj.util.StaticUtils.*; |
| | | |
| | | import org.forgerock.util.Reject; |
| | | |
| | | import java.util.Collection; |
| | |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.condition.Condition; |
| | | import org.opends.server.admin.condition.Conditions; |
| | | import org.opends.server.admin.server.ConfigChangeResult; |
| | | import org.opends.server.admin.server.ConfigurationDeleteListener; |
| | | import org.opends.server.admin.server.ServerConstraintHandler; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.admin.server.ServerManagedObjectChangeListener; |
| | | import org.opends.server.admin.server.ServerManagementContext; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | |
| | | import org.opends.server.admin.condition.Condition; |
| | | import org.opends.server.admin.server.ServerConstraintHandler; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * A generic constraint which comprises of an underlying condition and a |
| | |
| | | |
| | | import java.util.EnumSet; |
| | | |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.types.AddressMask; |
| | | |
| | | /** |
| | |
| | | // be required anyway). |
| | | DN dn; |
| | | if (r instanceof InstantiableRelationDefinition) { |
| | | dn = LDAPNameBuilder.create(parent, (InstantiableRelationDefinition) r, driver.getLDAPProfile()); |
| | | dn = LDAPNameBuilder.create(parent, (InstantiableRelationDefinition<?, ?>) r, |
| | | driver.getLDAPProfile()); |
| | | } else { |
| | | dn = LDAPNameBuilder.create(parent, (SetRelationDefinition) r, driver.getLDAPProfile()); |
| | | dn = LDAPNameBuilder.create(parent, (SetRelationDefinition<?, ?>) r, |
| | | driver.getLDAPProfile()); |
| | | } |
| | | |
| | | if (!driver.entryExists(dn)) { |
| | |
| | | |
| | | // Get an inherited property value. |
| | | @SuppressWarnings("unchecked") |
| | | private Collection<T> getInheritedProperty(ManagedObjectPath target, AbstractManagedObjectDefinition<?, ?> d, |
| | | String propertyName) { |
| | | private Collection<T> getInheritedProperty(ManagedObjectPath<?, ?> target, |
| | | AbstractManagedObjectDefinition<?, ?> d, String propertyName) { |
| | | // First check that the requested type of managed object |
| | | // corresponds to the path. |
| | | AbstractManagedObjectDefinition<?, ?> supr = target.getManagedObjectDefinition(); |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.forgerock.util.Reject; |
| | | |
| | | /** |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * An interface for evaluating conditions. |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * This class consists exclusively of static methods that operate on or return |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * A condition which evaluates to <code>true</code> if and only if a property |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.forgerock.util.Reject; |
| | | |
| | | /** |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.forgerock.util.Reject; |
| | | |
| | | /** |
| | |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.forgerock.util.Reject; |
| | | |
| | | /** |
| | |
| | | import org.opends.server.admin.OptionalRelationDefinition; |
| | | import org.opends.server.admin.SetRelationDefinition; |
| | | import org.opends.server.admin.DefinitionDecodingException.Reason; |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigAddListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.forgerock.opendj.ldap.Entry; |
| | | import org.slf4j.Logger; |
| | |
| | | import org.opends.server.admin.PropertyDefinition; |
| | | import org.opends.server.admin.RelativeInheritedDefaultBehaviorProvider; |
| | | import org.opends.server.admin.UndefinedDefaultBehaviorProvider; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigChangeListener; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.forgerock.opendj.ldap.DN; |
| | |
| | | * Finds the dependencies associated with the provided property |
| | | * definition. |
| | | * |
| | | * @param <T> |
| | | * @param <T> The type of property definition. |
| | | * @param path |
| | | * The current base path used for relative name resolution. |
| | | * @param pd |
| File was renamed from opendj-admin/src/main/java/org/opends/server/types/ConfigChangeResult.java |
| | |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.types; |
| | | package org.opends.server.admin.server; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Iterator; |
| | |
| | | import org.opends.server.admin.OptionalRelationDefinition; |
| | | import org.opends.server.admin.SetRelationDefinition; |
| | | import org.opends.server.admin.DefinitionDecodingException.Reason; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.forgerock.opendj.ldap.Entry; |
| | | import org.slf4j.Logger; |
| | |
| | | import static com.forgerock.opendj.util.StaticUtils.*; |
| | | |
| | | import org.opends.server.admin.DefinitionDecodingException; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.util.DynamicConstants; |
| | | |
| | | import com.forgerock.opendj.ldap.AdminMessages; |
| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server configurable |
| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server configurable |
| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server configurable |
| | |
| | | */ |
| | | package org.opends.server.admin.server; |
| | | |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigAddListener; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.forgerock.opendj.ldap.DN; |
| | |
| | | import java.util.Collection; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * An interface for performing server-side constraint validation. |
| | |
| | | import org.opends.server.admin.RelationDefinition; |
| | | import org.opends.server.admin.SetRelationDefinition; |
| | | import org.opends.server.admin.SingletonRelationDefinition; |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.config.spi.ConfigAddListener; |
| | | import org.opends.server.config.spi.ConfigChangeListener; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server configurable |
| | |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * An adaptor class which converts {@link ServerManagedObjectAddListener} |
| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server configurable |
| | |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * An adaptor class which converts {@link ServerManagedObjectChangeListener} |
| | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server configurable |
| | |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | |
| | | /** |
| | | * An adaptor class which converts {@link ServerManagedObjectDeleteListener} |
| | |
| | | import org.opends.server.admin.RelativeInheritedDefaultBehaviorProvider; |
| | | import org.opends.server.admin.UndefinedDefaultBehaviorProvider; |
| | | import org.opends.server.admin.DefinitionDecodingException.Reason; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.forgerock.opendj.admin.meta.RootCfgDefn; |
| | | import org.forgerock.opendj.admin.server.RootCfg; |
| File was renamed from opendj-admin/src/main/java/org/opends/server/api/ConfigAddListener.java |
| | |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | package org.opends.server.config.spi; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | | import org.forgerock.opendj.ldap.Entry; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.admin.server.ConfigChangeResult; |
| | | |
| | | /** |
| | | * This interface defines the methods that a Directory Server component should |
| File was renamed from opendj-admin/src/main/java/org/opends/server/api/ConfigChangeListener.java |
| | |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | package org.opends.server.config.spi; |
| | | |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.admin.server.ConfigChangeResult; |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | | import org.forgerock.opendj.ldap.Entry; |
| | | |
| File was renamed from opendj-admin/src/main/java/org/opends/server/api/ConfigDeleteListener.java |
| | |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | package org.opends.server.config.spi; |
| | | |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.admin.server.ConfigChangeResult; |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | | import org.forgerock.opendj.ldap.Entry; |
| | | |
| File was renamed from opendj-admin/src/main/java/org/opends/server/config/ConfigException.java |
| | |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.config; |
| | | package org.opends.server.config.spi; |
| | | |
| | | import org.forgerock.i18n.LocalizableException; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| File was renamed from opendj-admin/src/main/java/org/opends/server/config/ConfigurationRepository.java |
| | |
| | | * |
| | | * Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.config; |
| | | package org.opends.server.config.spi; |
| | | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.forgerock.opendj.ldap.Entry; |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | |
| | | /** |
| | | * Provides configuration entries and listener registration on the entries. |
| File was renamed from opendj-admin/src/main/java/org/opends/server/api/package-info.java |
| | |
| | | * effects or that does not work properly across different Directory |
| | | * Server versions. |
| | | */ |
| | | package org.opends.server.api; |
| | | package org.opends.server.config.spi; |
| | | |
| | |
| | | import java.util.Collection; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * This class defines an address mask, which can be used to perform efficient |
| | |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | private <T> Object getDefaultValue(ManagedObjectDefinition<?, ?> definition, |
| | | Method getPropertyDefMethod, @SuppressWarnings("unused") Class<T> propertyReturnClass) |
| | | Method getPropertyDefMethod, Class<T> propertyReturnClass) |
| | | throws Exception { |
| | | PropertyDefinition<T> propertyDefinition = (PropertyDefinition<T>) getPropertyDefMethod.invoke(definition); |
| | | DefaultBehaviorProvider<T> defaultBehaviorProvider = (DefaultBehaviorProvider<T>) propertyDefinition |
| | |
| | | import org.forgerock.opendj.ldif.LDIF; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.admin.server.ServerManagementContext; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.testng.annotations.Test; |
| | | |
| | | /** |
| | | * An abstract class that all admin unit tests should extend. |
| | | */ |
| | | @SuppressWarnings("javadoc") |
| | | @Test(groups = { "precommit", "admin" }, singleThreaded = true) |
| | | public abstract class AdminTestCase extends ConfigTestCase { |
| | | |
| | |
| | | { "java.lang.Runnable", "java.lang.String", Number.class, Number.class }, }; |
| | | } |
| | | |
| | | @SuppressWarnings("unused") |
| | | @Test(dataProvider = "loadClassesIllegal", expectedExceptions = { IllegalPropertyValueException.class }) |
| | | public <T> void testLoadClassIllegal(String interfaceName, String loadClassName, Class<T> instanceOfClass, |
| | | Class<?> expectedClass) { |
| | |
| | | import org.opends.server.admin.server.ConfigurationAddListener; |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.server.ConfigurationDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * A server-side interface for querying Test Parent settings. |
| | |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.server.ConfigurationDeleteListener; |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * An interface for querying the Test Parent managed object definition meta |
| | |
| | | import org.opends.server.admin.ManagedObjectPath; |
| | | import org.opends.server.admin.RelationDefinition; |
| | | import org.opends.server.admin.SingletonRelationDefinition; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | |
| | | /** |
| | | * This class defines some utility functions which can be used by test cases |
| | |
| | | * |
| | | * @param <S> |
| | | * The type of server configuration to be decoded. |
| | | * @param context The server management context. |
| | | * @param definition |
| | | * The required definition of the required managed object. |
| | | * @param entry |
| | |
| | | import org.opends.server.admin.TestParentCfg; |
| | | import org.opends.server.admin.UndefinedDefaultBehaviorProvider; |
| | | import org.opends.server.admin.condition.Conditions; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigChangeListener; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.testng.Assert; |
| | | import org.testng.annotations.AfterClass; |
| | | import org.testng.annotations.BeforeClass; |
| | |
| | | import org.opends.server.admin.TestChildCfg; |
| | | import org.opends.server.admin.TestChildCfgDefn; |
| | | import org.opends.server.admin.TestParentCfg; |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigAddListener; |
| | | import org.opends.server.config.spi.ConfigChangeListener; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.testng.annotations.AfterClass; |
| | | import org.testng.annotations.BeforeClass; |
| | | import org.testng.annotations.DataProvider; |
| | |
| | | import org.opends.server.admin.TestCfg; |
| | | import org.opends.server.admin.TestChildCfg; |
| | | import org.opends.server.admin.TestParentCfg; |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.config.spi.ConfigAddListener; |
| | | import org.opends.server.config.spi.ConfigChangeListener; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.testng.Assert; |
| | | import org.testng.annotations.AfterClass; |
| | | import org.testng.annotations.BeforeClass; |
| | |
| | | import org.opends.server.admin.PropertyDefinitionsOptions; |
| | | import org.opends.server.admin.TestCfg; |
| | | import org.opends.server.admin.TestParentCfg; |
| | | import org.opends.server.api.ConfigAddListener; |
| | | import org.opends.server.api.ConfigChangeListener; |
| | | import org.opends.server.api.ConfigDeleteListener; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.config.spi.ConfigAddListener; |
| | | import org.opends.server.config.spi.ConfigChangeListener; |
| | | import org.opends.server.config.spi.ConfigDeleteListener; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.testng.annotations.AfterClass; |
| | | import org.testng.annotations.BeforeClass; |
| | | import org.testng.annotations.Test; |
| | |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.opends.server.admin.Constraint; |
| | | import org.opends.server.admin.client.ClientConstraintHandler; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.config.ConfigurationRepository; |
| | | import org.opends.server.config.spi.ConfigException; |
| | | import org.opends.server.config.spi.ConfigurationRepository; |
| | | import org.testng.Assert; |
| | | |
| | | /** |