public class PropertyLoadingModule
extends com.google.inject.AbstractModule
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
properties |
| Constructor and Description |
|---|
PropertyLoadingModule(Properties... allProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected Properties |
getFilteredProperties(String prefix) |
protected String |
getProperty(String key,
String defaultValue,
Properties... allProperties) |
protected void |
logProperties() |
protected void |
mergeProperties(Properties... allProperties) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected final Properties properties
public PropertyLoadingModule(Properties... allProperties)
allProperties - multiple properties which will be combined. last item has highest priorityprotected void mergeProperties(Properties... allProperties)
protected String getProperty(String key, String defaultValue, Properties... allProperties)
protected void logProperties()
protected Properties getFilteredProperties(String prefix)
protected void configure()
configure in class com.google.inject.AbstractModuleCopyright © 2019. All rights reserved.