org.kuali.rice.krad.service.impl
Class ConfigurationServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.ConfigurationServiceImpl
- All Implemented Interfaces:
- ConfigurationService
public class ConfigurationServiceImpl
- extends Object
- implements ConfigurationService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationServiceImpl
public ConfigurationServiceImpl()
- Harcoding the configFileName, by request.
getPropertyValueAsString
public String getPropertyValueAsString(String key)
- Description copied from interface:
ConfigurationService
- Given a property name (key), returns the value associated with that key, or null if none is available.
- Specified by:
getPropertyValueAsString
in interface ConfigurationService
- Returns:
- String associated with the given key
- See Also:
ConfigurationService.getPropertyValueAsString(java.lang.String)
getPropertyValueAsBoolean
public boolean getPropertyValueAsBoolean(String key)
- Description copied from interface:
ConfigurationService
- Given a property name (key), returns the "booleanized" value associated with that key.
true, yes, on, or 1 are translated into true - all other values result in false
- Specified by:
getPropertyValueAsBoolean
in interface ConfigurationService
- Returns:
- String associated with the given key
- See Also:
ConfigurationService.getPropertyValueAsBoolean(java.lang.String)
getAllProperties
public Map<String,String> getAllProperties()
- Specified by:
getAllProperties
in interface ConfigurationService
- Returns:
- Properties instance containing all (key,value) pairs known to the service
- See Also:
ConfigurationService.getAllProperties()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.