public class ConfigProvider<T> extends Object implements com.google.inject.Provider<T>
Constructor and Description |
---|
ConfigProvider(Class<T> clazz,
Map<String,String> replacements) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
bind(com.google.inject.Binder binder,
Class<T> clazz) |
static <T> void |
bind(com.google.inject.Binder binder,
Class<T> clazz,
Map<String,String> replacements) |
T |
get() |
void |
inject(org.skife.config.ConfigurationObjectFactory factory) |
static <T> com.google.inject.Provider<T> |
of(Class<T> clazz) |
static <T> com.google.inject.Provider<T> |
of(Class<T> clazz,
Map<String,String> replacements) |
public static <T> void bind(com.google.inject.Binder binder, Class<T> clazz)
public static <T> void bind(com.google.inject.Binder binder, Class<T> clazz, Map<String,String> replacements)
public static <T> com.google.inject.Provider<T> of(Class<T> clazz)
public static <T> com.google.inject.Provider<T> of(Class<T> clazz, Map<String,String> replacements)
@Inject public void inject(org.skife.config.ConfigurationObjectFactory factory)
Copyright © 2011–2015. All rights reserved.