public String getServiceForComponent(String component) {
    return componentService.get(component);
  }
Get the service for the specified component.

@param component  component name

@return service name that contains tha specified component
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Stack.java