public class DruidSecondaryModule extends Object implements com.google.inject.Module
Constructor and Description |
---|
DruidSecondaryModule(Properties properties,
org.skife.config.ConfigurationObjectFactory factory,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.fasterxml.jackson.databind.ObjectMapper smileMapper,
javax.validation.Validator validator) |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
com.fasterxml.jackson.databind.ObjectMapper |
getJsonMapper(com.google.inject.Injector injector) |
com.fasterxml.jackson.databind.ObjectMapper |
getSmileMapper(com.google.inject.Injector injector) |
@Inject public DruidSecondaryModule(Properties properties, org.skife.config.ConfigurationObjectFactory factory, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, javax.validation.Validator validator)
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public com.fasterxml.jackson.databind.ObjectMapper getJsonMapper(com.google.inject.Injector injector)
@Provides public com.fasterxml.jackson.databind.ObjectMapper getSmileMapper(com.google.inject.Injector injector)
Copyright © 2011–2015. All rights reserved.