public class PropertiesModule
extends com.google.inject.AbstractModule
| Constructor and Description |
|---|
PropertiesModule() |
PropertiesModule(Properties properties) |
PropertiesModule(String propertyFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected String |
getContextRoot()
Should return the context root where the current web module is deployed with.
|
protected static String |
getDefaultPropertiesPath() |
protected Properties |
getProperties() |
protected String |
getServerHostname() |
protected String |
getServerPort()
Should return the default port set as system property.
|
protected Properties |
readPropertyFile(String propertyFile) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic PropertiesModule()
public PropertiesModule(String propertyFile)
public PropertiesModule(Properties properties)
protected void configure()
configure in class com.google.inject.AbstractModuleprotected String getContextRoot()
protected String getServerPort()
protected String getServerHostname()
protected static String getDefaultPropertiesPath()
protected Properties getProperties()
protected Properties readPropertyFile(String propertyFile)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.