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

matthew_swift
12.12.2007 7b618f78599b78c4b9085b938dd84a30fa5dc1a9
opends/src/server/org/opends/server/admin/server/ServerManagementContext.java
@@ -449,9 +449,15 @@
   *           If the named managed object could not be found or if it
   *           could not be decoded.
   */
  @SuppressWarnings("unchecked")
  public <C extends ConfigurationClient, S extends Configuration>
  ServerManagedObject<? extends S> getManagedObject(
      ManagedObjectPath<C, S> path) throws ConfigException {
    // Be careful to handle the root configuration.
    if (path.isEmpty()) {
      return (ServerManagedObject<S>) getRootConfigurationManagedObject();
    }
    // Get the configuration entry.
    DN targetDN = DNBuilder.create(path);
    ConfigEntry configEntry = getManagedObjectConfigEntry(targetDN);