org.kuali.rice.ken.util
Class NotificationPropertyPlaceholderConfigurer

java.lang.Object
  extended by org.springframework.core.io.support.PropertiesLoaderSupport
      extended by org.springframework.beans.factory.config.PropertyResourceConfigurer
          extended by org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
              extended by org.kuali.rice.ken.util.NotificationPropertyPlaceholderConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

public class NotificationPropertyPlaceholderConfigurer
extends org.springframework.beans.factory.config.PropertyPlaceholderConfigurer

PropertyPlaceholderConfigurer subclass that overrides any statically defined properties and properties locations, with configuration settings from a properties file specified in a System property.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
PropertyPlaceholderConfigurer

Field Summary
private static String CFG_LOCATION_PROPERTY
           
 
Fields inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, SYSTEM_PROPERTIES_MODE_FALLBACK, SYSTEM_PROPERTIES_MODE_NEVER, SYSTEM_PROPERTIES_MODE_OVERRIDE
 
Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
logger, XML_FILE_EXTENSION
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
NotificationPropertyPlaceholderConfigurer()
           
 
Method Summary
protected  Properties mergeProperties()
           
protected  Properties transformProperties(Properties properties)
          This method consolidates config properties.
 
Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
parseStringValue, processProperties, resolvePlaceholder, resolvePlaceholder, resolveSystemProperty, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeName
 
Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer
convertProperties, convertPropertyValue, getOrder, postProcessBeanFactory, setOrder
 
Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
loadProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_LOCATION_PROPERTY

private static final String CFG_LOCATION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

NotificationPropertyPlaceholderConfigurer

public NotificationPropertyPlaceholderConfigurer()
Method Detail

mergeProperties

protected Properties mergeProperties()
                              throws IOException
Overrides:
mergeProperties in class org.springframework.core.io.support.PropertiesLoaderSupport
Throws:
IOException
See Also:
PropertiesLoaderSupport.mergeProperties()

transformProperties

protected Properties transformProperties(Properties properties)
                                  throws IOException
This method consolidates config properties.

Parameters:
properties -
Returns:
Properties
Throws:
IOException


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.