public class EmitterModule extends Object implements com.google.inject.Module
Constructor and Description |
---|
EmitterModule(Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
com.metamx.emitter.service.ServiceEmitter |
getServiceEmitter(com.google.common.base.Supplier<DruidNode> configSupplier,
com.metamx.emitter.core.Emitter emitter) |
@Inject public EmitterModule(Properties props)
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public com.metamx.emitter.service.ServiceEmitter getServiceEmitter(com.google.common.base.Supplier<DruidNode> configSupplier, com.metamx.emitter.core.Emitter emitter)
Copyright © 2011–2015. All rights reserved.