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

matthew_swift
12.12.2007 7b618f78599b78c4b9085b938dd84a30fa5dc1a9
opends/src/server/org/opends/server/admin/client/ManagementContext.java
@@ -183,11 +183,17 @@
   *           If the client cannot contact the server due to an
   *           underlying communication problem.
   */
  @SuppressWarnings("unchecked")
  public final <C extends ConfigurationClient, S extends Configuration>
  ManagedObject<? extends C> getManagedObject(
      ManagedObjectPath<C, S> path) throws DefinitionDecodingException,
      ManagedObjectDecodingException, ManagedObjectNotFoundException,
      AuthorizationException, CommunicationException {
    // Be careful to handle the root configuration.
    if (path.isEmpty()) {
      return (ManagedObject<C>) getRootConfigurationManagedObject();
    }
    return getDriver().getManagedObject(path);
  }