public class SynapsePropertiesLoader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
getBooleanProperty(java.lang.String name,
java.lang.Boolean def)
Get the boolean value of the property from the synapse properties.
|
static java.lang.String |
getPropertyValue(java.lang.String key,
java.lang.String defaultValue)
Load a value of the property from the synapse properties
|
static java.util.Properties |
loadSynapseProperties()
Loads the properties
This happen only cached properties are null.
|
static java.util.Properties |
reloadSynapseProperties()
Reloading properties from file
|
public static java.util.Properties loadSynapseProperties()
public static java.util.Properties reloadSynapseProperties()
public static java.lang.String getPropertyValue(java.lang.String key, java.lang.String defaultValue)
key
- Key of the propertydefaultValue
- Default valuepublic static java.lang.Boolean getBooleanProperty(java.lang.String name, java.lang.Boolean def)
name
- name of the config propertydef
- default value to return if the property is not setCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.