public class HttpEmitterModule extends Object implements com.google.inject.Module
Constructor and Description |
---|
HttpEmitterModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
com.metamx.emitter.core.Emitter |
getEmitter(com.google.common.base.Supplier<HttpEmitterConfig> config,
SSLContext sslContext,
com.metamx.common.lifecycle.Lifecycle lifecycle,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public com.metamx.emitter.core.Emitter getEmitter(com.google.common.base.Supplier<HttpEmitterConfig> config, @Nullable SSLContext sslContext, com.metamx.common.lifecycle.Lifecycle lifecycle, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
Copyright © 2011–2015. All rights reserved.