|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.impl.services.ConfigurationServiceImpl.PropertyHolder
protected static class ConfigurationServiceImpl.PropertyHolder
This class is a Property container. It is able to load properties from various property-sources.
Constructor Summary | |
---|---|
ConfigurationServiceImpl.PropertyHolder()
Default constructor. |
Method Summary | |
---|---|
void |
clearProperties()
Removes all properties from this container. |
void |
clearProperty(String key)
Removes the property with the given key from this container |
boolean |
containsKey(String key)
|
Properties |
getHeldProperties()
|
Iterator |
getKeys()
|
String |
getProperty(String key)
|
boolean |
isEmpty()
|
void |
loadProperties(ConfigurationServiceImpl.PropertySource source)
Copies all name,value pairs from the given PropertySource instance into this container. |
void |
setHeldProperties(Properties heldProperties)
|
void |
setProperty(ConfigurationServiceImpl.PropertySource source,
String key,
String value)
Associates the given value with the given key |
void |
setProperty(String key,
String value)
Associates the given value with the given key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationServiceImpl.PropertyHolder()
Method Detail |
---|
public boolean isEmpty()
public boolean containsKey(String key)
key
-
IllegalArgumentException
- if the given key is nullpublic String getProperty(String key)
key
-
IllegalArgumentException
- if the given key is nullpublic void setProperty(String key, String value)
key
- value
-
IllegalArgumentException
- if the given key is null
IllegalArgumentException
- if the given value is nullpublic void setProperty(ConfigurationServiceImpl.PropertySource source, String key, String value)
source
- key
- value
-
IllegalArgumentException
- if the given key is null
IllegalArgumentException
- if the given value is nullpublic void clearProperty(String key)
key
-
IllegalArgumentException
- if the given key is nullpublic void loadProperties(ConfigurationServiceImpl.PropertySource source)
source
-
IllegalStateException
- if the source is invalid (improperly initialized)
as an existing propertypublic void clearProperties()
public Iterator getKeys()
public Properties getHeldProperties()
public void setHeldProperties(Properties heldProperties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |