co.cask.tigon.runtime
Class RuntimeModule

java.lang.Object
  extended by co.cask.tigon.runtime.RuntimeModule

public abstract class RuntimeModule
extends Object

Runtime Module defines all of the methods that all of our Guice modules must implement. We expect all modules that are found in each component's "runtime" package to extend this class.


Constructor Summary
RuntimeModule()
           
 
Method Summary
abstract  com.google.inject.Module getDistributedModules()
          Get a combined Module that includes all of the modules and classes required to instantiate and run a fully distributed instance of Tigon.
abstract  com.google.inject.Module getInMemoryModules()
          Get a combined Module that includes all of the modules and classes required to instantiate and run an in memory instance of Tigon.
abstract  com.google.inject.Module getSingleNodeModules()
          Get a combined Module that includes all of the modules and classes required to instantiate and run a single node instance of Tigon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeModule

public RuntimeModule()
Method Detail

getInMemoryModules

public abstract com.google.inject.Module getInMemoryModules()
Get a combined Module that includes all of the modules and classes required to instantiate and run an in memory instance of Tigon.

Returns:
A combined set of Modules required for InMemory execution.

getSingleNodeModules

public abstract com.google.inject.Module getSingleNodeModules()
Get a combined Module that includes all of the modules and classes required to instantiate and run a single node instance of Tigon.

Returns:
A combined set of Modules required for SingleNode execution.

getDistributedModules

public abstract com.google.inject.Module getDistributedModules()
Get a combined Module that includes all of the modules and classes required to instantiate and run a fully distributed instance of Tigon.

Returns:
A combined set of Modules required for distributed execution.


Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.