@Override
    protected void configure() {
      Configuration configuration = new Configuration();
      bind(Configuration.class).toInstance(configuration);
      bind(OsFamily.class).toInstance(new OsFamily(configuration));
    }
Module for stand alone view registry.
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java