Package org.apache.ambari.server.view.persistence

Examples of org.apache.ambari.server.view.persistence.DataStoreModule


  @Override
  public synchronized DataStore getDataStore() {
    if (viewInstanceEntity != null) {
      if (dataStore == null) {
        Injector injector = Guice.createInjector(new DataStoreModule(viewInstanceEntity));
        dataStore = injector.getInstance(DataStoreImpl.class);
      }
    }
    return dataStore;
  }
View Full Code Here


  }

  @Override
  public synchronized DataStore getDataStore() {
    if (dataStore == null) {
      Injector injector = Guice.createInjector(new DataStoreModule(viewInstanceEntity));
      dataStore = injector.getInstance(DataStoreImpl.class);
    }
    return dataStore;
  }
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.view.persistence.DataStoreModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.