public class SynapsePropertiesLoader extends Object
Modifier and Type | Method and Description |
---|---|
static Boolean |
getBooleanProperty(String name,
Boolean def)
Get the boolean value of the property from the synapse properties.
|
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
|
public static Properties loadSynapseProperties()
public static Properties reloadSynapseProperties()
public static String getPropertyValue(String key, String defaultValue)
key
- Key of the propertydefaultValue
- Default valuepublic static Boolean getBooleanProperty(String name, Boolean def)
name
- name of the config propertydef
- default value to return if the property is not setCopyright © 2005–2020 Apache Software Foundation. All rights reserved.