|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.config.SynapsePropertiesLoader
public class SynapsePropertiesLoader
Provides a Factory method load synapse properties. Cache the properties to make sure properties loading only is occurred onetime
Method Summary | |
---|---|
static String |
getPropertyValue(String key,
String defaultValue)
Load a value of the property from the synapse properties |
static Properties |
loadSynapseProperties()
Loads the properties This happen only cached properties are null. |
static Properties |
reloadSynapseProperties()
Reloading properties from file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Properties loadSynapseProperties()
public static Properties reloadSynapseProperties()
public static String getPropertyValue(String key, String defaultValue)
key
- Key of the propertydefaultValue
- Default value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |