class ViewRegistry {

  public Set<SubResourceDefinition> getSubResourceDefinitions(
      String viewName, String version) {


    viewName = ViewEntity.getViewName(viewName, version);

    return subResourceDefinitionsMap.get(viewName);
  }

  @Inject public  ViewRegistry(AmbariEventPublisher publisher);

}