public static ViewRegistry getInstance() {
    return singleton;
  }
Get the view registry singleton.

@return the view registry
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java