Package ch.rswk.meta.engine.dagger
Class EngineRuntimeModule
java.lang.Object
ch.rswk.meta.engine.dagger.EngineRuntimeModule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet
<com.google.common.util.concurrent.Service> com.google.common.eventbus.EventBus
getEventBus
(com.google.common.util.concurrent.ListeningExecutorService executorService) com.codahale.metrics.health.HealthCheckRegistry
com.google.common.util.concurrent.ListeningExecutorService
getListeningExecutor
(com.codahale.metrics.MetricRegistry registry) com.codahale.metrics.MetricRegistry
com.google.common.util.concurrent.ServiceManager
getServiceManager
(Set<com.google.common.util.concurrent.Service> services)
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
THREAD_NAME_FORMAT
- See Also:
-
-
Constructor Details
-
EngineRuntimeModule
public EngineRuntimeModule()
-
-
Method Details
-
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)
-