|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerProperties
Supports server configuration by allowing components to retrieve property values from a standard Java properties file. The property values are searched from three locations; values in later locations override values in earlier locations.
| Method Summary | |
|---|---|
Double |
getDoubleProperty(String name,
Double defaultValue)
Returns the value of the named property as a Double, or defaultValue if no such property is found. |
Integer |
getIntegerProperty(String name,
Integer defaultValue)
Returns the value of the named property as an Integer, or defaultValue if no such property is found. |
String |
getProperty(String name)
Returns the value of the property with the given name, or null if no such property is found. |
String |
getProperty(String name,
String defaultValue)
Returns the value of the named property, or the defaultValue if no such property is found. |
| Method Detail |
|---|
String getProperty(String name)
String getProperty(String name,
String defaultValue)
Integer getIntegerProperty(String name,
Integer defaultValue)
Double getDoubleProperty(String name,
Double defaultValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||