congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DataSetsModules.getStandaloneModules
Code IndexAdd Tabnine to your IDE (free)

How to use
getStandaloneModules
method
in
co.cask.cdap.data.runtime.DataSetsModules

Best Java code snippets using co.cask.cdap.data.runtime.DataSetsModules.getStandaloneModules (Showing top 12 results out of 315)

origin: cdapio/cdap

private void addIsolatedModules(List<Module> modules) {
 modules.add(new TMSLogAppenderModule());
 modules.add(new DFSLocationModule());
 modules.add(new DataSetsModules().getStandaloneModules());
 modules.add(new DataSetServiceModules().getStandaloneModules());
 modules.add(Modules.override(new DataFabricModules().getInMemoryModules()).with(new AbstractModule() {
origin: co.cask.cdap/cdap-app-fabric

private void addIsolatedModules(List<Module> modules) {
 modules.add(new DataSetsModules().getStandaloneModules());
 modules.add(new DataSetServiceModules().getStandaloneModules());
 modules.add(Modules.override(new DataFabricModules().getInMemoryModules()).with(new AbstractModule() {
origin: caskdata/cdap

createDataFabricModule(),
new TransactionExecutorModule(),
new DataSetsModules().getStandaloneModules(),
new DataSetServiceModules().getInMemoryModules(),
new ConfigModule(cConf, hConf),
origin: co.cask.cdap/cdap-unit-test

createDataFabricModule(),
new TransactionExecutorModule(),
new DataSetsModules().getStandaloneModules(),
new DataSetServiceModules().getInMemoryModules(),
new ConfigModule(cConf, hConf),
origin: caskdata/cdap

@BeforeClass
public static void init() throws Exception {
 cConf = CConfiguration.create();
 cConf.set(Constants.CFG_LOCAL_DATA_DIR, tmpFolder.newFolder().getAbsolutePath());
 Injector injector = Guice.createInjector(
  new ConfigModule(cConf),
  new NonCustomLocationUnitTestModule(),
  new InMemoryDiscoveryModule(),
  new DataSetsModules().getStandaloneModules(),
  new DataFabricLevelDBModule(),
  new TransactionMetricsModule(),
  new AuthorizationTestModule(),
  new AuthorizationEnforcementModule().getStandaloneModules(),
  new AuthenticationContextModules().getMasterModule());
 service = injector.getInstance(LevelDBTableService.class);
}
origin: caskdata/cdap

@BeforeClass
public static void init() throws Exception {
 CConfiguration conf = CConfiguration.create();
 conf.set(Constants.CFG_LOCAL_DATA_DIR, tmpFolder.newFolder().getAbsolutePath());
 injector = Guice.createInjector(
  new ConfigModule(conf),
  new NonCustomLocationUnitTestModule(),
  new InMemoryDiscoveryModule(),
  new DataSetsModules().getStandaloneModules(),
  new DataFabricLevelDBModule(),
  new TransactionMetricsModule(),
  new AuthorizationTestModule(),
  new AuthorizationEnforcementModule().getStandaloneModules(),
  new AuthenticationContextModules().getMasterModule());
 service = injector.getInstance(LevelDBTableService.class);
}
origin: cdapio/cdap

new MetricsClientRuntimeModule().getInMemoryModules(),
new DataFabricModules().getInMemoryModules(),
new DataSetsModules().getStandaloneModules(),
new DataSetServiceModules().getInMemoryModules(),
new ExploreClientModule(),
origin: caskdata/cdap

new NonCustomLocationUnitTestModule(),
new DataFabricModules().getInMemoryModules(),
new DataSetsModules().getStandaloneModules(),
new DataSetServiceModules().getInMemoryModules(),
new TransactionMetricsModule(),
origin: cdapio/cdap

new ProgramRunnerRuntimeModule().getStandaloneModules(),
new DataFabricModules(StandaloneMain.class.getName()).getStandaloneModules(),
new DataSetsModules().getStandaloneModules(),
new DataSetServiceModules().getStandaloneModules(),
new MetricsClientRuntimeModule().getStandaloneModules(),
origin: co.cask.cdap/cdap-standalone

new ProgramRunnerRuntimeModule().getStandaloneModules(),
new DataFabricModules(StandaloneMain.class.getName()).getStandaloneModules(),
new DataSetsModules().getStandaloneModules(),
new DataSetServiceModules().getStandaloneModules(),
new MetricsClientRuntimeModule().getStandaloneModules(),
origin: cdapio/cdap

new IOModule(),
new DataFabricModules().getInMemoryModules(),
new DataSetsModules().getStandaloneModules(),
new TransactionExecutorModule(),
new DataSetServiceModules().getInMemoryModules(),
origin: cdapio/cdap

 @Override
 protected void configure() {
  install(new DataFabricModules().getInMemoryModules());
  install(new DataSetsModules().getStandaloneModules());
  install(new TransactionExecutorModule());
  install(new DataSetServiceModules().getInMemoryModules());
  install(new ConfigModule(cConf, hConf, sConf));
  install(new IOModule());
  install(new InMemoryDiscoveryModule());
  install(new AppFabricServiceRuntimeModule().getInMemoryModules());
  install(new ServiceStoreModules().getInMemoryModules());
  install(new ProgramRunnerRuntimeModule().getInMemoryModules());
  install(new NonCustomLocationUnitTestModule());
  install(new LocalLogAppenderModule());
  install(new LogReaderRuntimeModules().getInMemoryModules());
  install(new LogQueryServerModule());
  install(new MetricsHandlerModule());
  install(new MetricsClientRuntimeModule().getInMemoryModules());
  install(new ExploreClientModule());
  install(new ConfigStoreModule().getInMemoryModule());
  install(new NamespaceStoreModule().getStandaloneModules());
  install(new MetadataServiceModule());
  install(new AuthorizationModule());
  install(new AuthorizationEnforcementModule().getStandaloneModules());
  install(new SecureStoreServerModule());
  install(new MetadataReaderWriterModules().getInMemoryModules());
  install(new MessagingServerRuntimeModule().getInMemoryModules());
  install(new MockProvisionerModule());
 }
}
co.cask.cdap.data.runtimeDataSetsModulesgetStandaloneModules

Popular methods of DataSetsModules

  • <init>
  • getDistributedModules
  • getInMemoryModules
  • getModule

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Path (java.nio.file)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now