|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.apache.shindig.common.PropertiesModule
public class PropertiesModule
Injects everything from the a property file as a Named value Uses the default shindig.properties file if no other is provided
| Constructor Summary | |
|---|---|
PropertiesModule()
|
|
PropertiesModule(Properties properties)
|
|
PropertiesModule(String propertyFile)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesModule()
public PropertiesModule(String propertyFile)
public PropertiesModule(Properties properties)
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModuleprotected String getServerPort()
protected String getServerHostname()
protected static String getDefaultPropertiesPath()
protected Properties getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||