Class ConfigurationMemoryMap
java.lang.Object
com.pnfsoftware.jeb.core.properties.impl.ConfigurationMemoryMap
- All Implemented Interfaces:
IConfiguration
Configuration implementation where objects are stored in a hash-map in memory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearProperty
(String key) Remove a property from the configuration object.Get the collection of all property keys held by this configuration object.getProperty
(String key) Retrieve a property value.void
setProperty
(String key, Object value) Set a property value.toString()
-
Constructor Details
-
ConfigurationMemoryMap
public ConfigurationMemoryMap() -
ConfigurationMemoryMap
-
-
Method Details
-
setProperty
Description copied from interface:IConfiguration
Set a property value.- Specified by:
setProperty
in interfaceIConfiguration
- Parameters:
key
- the property keyvalue
- the property value
-
getProperty
Description copied from interface:IConfiguration
Retrieve a property value.- Specified by:
getProperty
in interfaceIConfiguration
- Parameters:
key
- the property key- Returns:
- the property value, null if the property does not exist
-
clearProperty
Description copied from interface:IConfiguration
Remove a property from the configuration object.- Specified by:
clearProperty
in interfaceIConfiguration
- Parameters:
key
- the property key
-
getAllPropertyKeys
Description copied from interface:IConfiguration
Get the collection of all property keys held by this configuration object.- Specified by:
getAllPropertyKeys
in interfaceIConfiguration
- Returns:
-
toString
-