private void parsePath() throws AmbariException {
    Collection<String> subDirs = Arrays.asList(directory.list());
    parseServiceDirectories(subDirs);
    parseMetaInfoFile();
  }
Parse the extension directory.

@throws AmbariException if unable to parse the directory
ambari-server/src/main/java/org/apache/ambari/server/stack/ExtensionDirectory.java