mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
15.17.2014 661593f15f14aaf55d73c7979dab1e900ebae2af
opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java
@@ -130,20 +130,22 @@
            .getLocalizedLogger(AdminMessages.resourceName());
    private static final Logger debugLogger = LoggerFactory.getLogger(ConfigurationFramework.class);
    // The name of the lib directory.
    /** The name of the lib directory. */
    private static final String LIB_DIR = "lib";
    // The name of the extensions directory.
    /** The name of the extensions directory. */
    private static final String EXTENSIONS_DIR = "extensions";
    // The singleton instance.
    /** The singleton instance. */
    private static final ConfigurationFramework INSTANCE = new ConfigurationFramework();
    // Attribute name in jar's MANIFEST corresponding to the revision number.
    /** Attribute name in jar's MANIFEST corresponding to the revision number. */
    private static final String REVISION_NUMBER = "Revision-Number";
    // The attribute names for build information is name, version and revision
    // number
    /**
     * The attribute names for build information is name, version and revision
     * number.
     */
    private static final String[] BUILD_INFORMATION_ATTRIBUTE_NAMES = new String[] {
        Attributes.Name.EXTENSION_NAME.toString(),
        Attributes.Name.IMPLEMENTATION_VERSION.toString(), REVISION_NUMBER };
@@ -157,17 +159,19 @@
        return INSTANCE;
    }
    // Set of registered Jar files.
    /** Set of registered Jar files. */
    private Set<File> jarFiles = new HashSet<File>();
    // Underlying class loader used to load classes and resources (null
    // if disabled).
    //
    // We contain a reference to the URLClassLoader rather than
    // sub-class it so that it is possible to replace the loader at
    // run-time. For example, when removing or replacing extension Jar
    // files (the URLClassLoader only supports adding new
    // URLs, not removal).
    /**
     * Underlying class loader used to load classes and resources (null
     * if disabled).
     * <p>
     * We contain a reference to the URLClassLoader rather than
     * sub-class it so that it is possible to replace the loader at
     * run-time. For example, when removing or replacing extension Jar
     * files (the URLClassLoader only supports adding new
     * URLs, not removal).
     */
    private MyURLClassLoader loader = null;
    private boolean isClient = true;
@@ -175,7 +179,7 @@
    private String instancePath;
    private ClassLoader parent;
    // Private constructor.
    /** Private constructor. */
    private ConfigurationFramework() {
        // No implementation required.
    }