public class ServicePropertiesModule
extends com.google.inject.AbstractModule
PropertyFiles in the classpath (called service.properties by default)PropertyFile Named property
"service.properties"| Modifier and Type | Field and Description |
|---|---|
protected PropertyFile |
properties |
| Constructor and Description |
|---|
ServicePropertiesModule(PropertyFile... all)
Load the properties from the provided PropertyFiles, with later PropertyFile values overriding those specified in previous
PropertyFile objects
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
PropertyFile |
getProperties() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected final PropertyFile properties
public ServicePropertiesModule(PropertyFile... all)
all - the property file(s) to bindprotected void configure()
configure in class com.google.inject.AbstractModule@Provides public PropertyFile getProperties()
Copyright © 2014. All Rights Reserved.