org.ops4j.pax.coin.adapter
Class MapPropertiesAdapter
java.lang.Object
org.ops4j.pax.coin.adapter.MapPropertiesAdapter
- All Implemented Interfaces:
- PropertiesAdapter
public class MapPropertiesAdapter
- extends Object
- implements PropertiesAdapter
Simplest properties adapter. Loads properties from a map.
- Since:
- 0.3.0, March 08, 2008
- Author:
- Alin Dreghiciu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapPropertiesAdapter
public MapPropertiesAdapter(Map<String,Object> properties)
- Constructor.
- Parameters:
properties
- configuration properties; cannot be null
- Throws:
org.ops4j.lang.NullArgumentException
- - If configuration properties are null
getProperties
public Map<String,Object> getProperties()
- Description copied from interface:
PropertiesAdapter
- Returns a map of properties.
- Specified by:
getProperties
in interface PropertiesAdapter
- Returns:
- configuration properties
- See Also:
PropertiesAdapter.getProperties()
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.