private ViewEntity getDefinition(String viewName) {
    return viewDefinitions.get(viewName);
  }
Get the view resource provider mapping.

@return the map of view resource providers
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java