public class DruidTestModule extends Object implements com.google.inject.Module
Constructor and Description |
---|
DruidTestModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
HttpClient |
getHttpClient(IntegrationTestingConfig config,
Lifecycle lifecycle,
HttpClient delegate) |
ServiceEmitter |
getServiceEmitter(com.google.common.base.Supplier<LoggingEmitterConfig> config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public HttpClient getHttpClient(IntegrationTestingConfig config, Lifecycle lifecycle, HttpClient delegate) throws Exception
Exception
@Provides public ServiceEmitter getServiceEmitter(com.google.common.base.Supplier<LoggingEmitterConfig> config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
Copyright © 2011–2018. All rights reserved.