|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.conf.MapConfigurationProvider
public class MapConfigurationProvider
Simple configuration provider that sets configuration based on a provided map.
Constructor Summary | |
---|---|
MapConfigurationProvider()
Construct with null properties. |
|
MapConfigurationProvider(Map props)
Constructor; supply properties map. |
Method Summary | |
---|---|
void |
addProperties(Map props)
Add the given properties to those in this provider, overwriting any existing properties under the same keys. |
Object |
addProperty(String key,
Object value)
Add a single property, overwriting any existing property under the same key. |
Map |
getProperties()
Return properties loaded thus far, or empty map if none. |
void |
setInto(Configuration conf)
Set loaded information into the given configuration. |
protected void |
setInto(Configuration conf,
Log log)
Set properties into configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapConfigurationProvider()
public MapConfigurationProvider(Map props)
Method Detail |
---|
public Map getProperties()
ConfigurationProvider
getProperties
in interface ConfigurationProvider
public void addProperties(Map props)
ConfigurationProvider
addProperties
in interface ConfigurationProvider
public Object addProperty(String key, Object value)
ConfigurationProvider
addProperty
in interface ConfigurationProvider
public void setInto(Configuration conf)
ConfigurationProvider
setInto
in interface ConfigurationProvider
protected void setInto(Configuration conf, Log log)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |