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 static String |
getDefaultPropertiesPath() |
protected Properties |
getProperties() |
protected String |
getServerHostname() |
protected String |
getServerPort()
Should return the port that the current server is running on.
|
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 getServerPort()
protected String getServerHostname()
protected static String getDefaultPropertiesPath()
protected Properties getProperties()
Copyright © 2007-2012. All Rights Reserved.