|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.service.impl.ConfigurationServiceImpl
public class ConfigurationServiceImpl
Implementation of the ConfigurationService that loads messages from the configured rice resource
files and stores them in an internal property holder
| Nested Class Summary | |
|---|---|
protected static class |
ConfigurationServiceImpl.FilePropertySource
Used to obtain properties from a properties file |
protected static class |
ConfigurationServiceImpl.PropertyHolder
This class is a Property container. |
protected static interface |
ConfigurationServiceImpl.PropertySource
Interface for a source for properties |
| Constructor Summary | |
|---|---|
ConfigurationServiceImpl()
Default constructor |
|
| Method Summary | |
|---|---|
Map<String,String> |
getAllProperties()
Returns all properties configured for the Rice instance |
boolean |
getPropertyValueAsBoolean(String key)
Given a property name (key), returns the "booleanized" value associated with that key. |
String |
getPropertyValueAsString(String key)
Given a property name (key), returns the value associated with that key, or null if none is available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationServiceImpl()
| Method Detail |
|---|
public String getPropertyValueAsString(String key)
ConfigurationService
getPropertyValueAsString in interface ConfigurationServicekey - - key for the message in application resources
ConfigurationService.getPropertyValueAsString(java.lang.String)public boolean getPropertyValueAsBoolean(String key)
ConfigurationServicetrue, yes, on, or 1 are translated into true - all other values result in false
getPropertyValueAsBoolean in interface ConfigurationServicekey - - key for the message in application resources
ConfigurationService.getPropertyValueAsBoolean(java.lang.String)public Map<String,String> getAllProperties()
ConfigurationService
getAllProperties in interface ConfigurationServiceConfigurationService.getAllProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||