public Collection<String> getServices() {
    return serviceComponents.keySet();
  }
Get services contained in the extension.

@return collection of all services for the extension
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Extension.java