Class EngineRuntimeModule

java.lang.Object
ch.rswk.meta.engine.dagger.EngineRuntimeModule

@Module public class EngineRuntimeModule extends Object
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
  • Constructor Details

    • EngineRuntimeModule

      public EngineRuntimeModule()
  • Method Details

    • getDefaultFileWatchers

      @Provides @ElementsIntoSet public Set<EngineRuntime.FileWatcher> getDefaultFileWatchers()
    • getDefaultServices

      @Provides @ElementsIntoSet public Set<com.google.common.util.concurrent.Service> getDefaultServices()
    • getEventBus

      @Provides @Singleton public com.google.common.eventbus.EventBus getEventBus(com.google.common.util.concurrent.ListeningExecutorService executorService)
    • getHealthCheckRegistry

      @Provides @Singleton public com.codahale.metrics.health.HealthCheckRegistry getHealthCheckRegistry()
    • getListeningExecutor

      @Provides @Singleton public com.google.common.util.concurrent.ListeningExecutorService getListeningExecutor(com.codahale.metrics.MetricRegistry registry)
    • getMetricRegistry

      @Provides @Singleton public com.codahale.metrics.MetricRegistry getMetricRegistry()
    • getServiceManager

      @Provides @Singleton public com.google.common.util.concurrent.ServiceManager getServiceManager(Set<com.google.common.util.concurrent.Service> services)