org.kuali.student.common.util
Class ModPropertyPlaceholderConfigurer

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.PlaceholderConfigurerSupport
              extended by org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
                  extended by org.kuali.student.common.util.ModPropertyPlaceholderConfigurer
All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, BeanFactoryPostProcessor, InitializingBean, Ordered, PriorityOrdered

public class ModPropertyPlaceholderConfigurer
extends PropertyPlaceholderConfigurer
implements InitializingBean


Nested Class Summary
 class ModPropertyPlaceholderConfigurer.PlaceholderResolvingStringValueResolver
          BeanDefinitionVisitor that resolves placeholders in String values, delegating to the parseStringValue method of the containing class.
 
Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
SYSTEM_PROPERTIES_MODE_FALLBACK, SYSTEM_PROPERTIES_MODE_NEVER, SYSTEM_PROPERTIES_MODE_OVERRIDE
 
Fields inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, placeholderPrefix, placeholderSuffix, valueSeparator
 
Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
localOverride, localProperties, logger, XML_FILE_EXTENSION
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
ModPropertyPlaceholderConfigurer()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getCustomConfigFileLocation()
           
 String getCustomConfigSystemProperty()
           
protected  void processProperties(ConfigurableListableBeanFactory beanFactoryToProcess, Properties props)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setBeanName(String beanName)
           
 void setCustomConfigFileLocation(String customConfigFileLocation)
           
 void setCustomConfigSystemProperty(String customConfigSystemProperty)
           
 void setLocations(Resource[] locations)
           
 void setNullValue(String nullValue)
           
 
Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
parseStringValue, resolvePlaceholder, resolvePlaceholder, resolveSystemProperty, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeName
 
Methods inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
doProcessProperties, setIgnoreUnresolvablePlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setValueSeparator
 
Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer
convertProperties, convertProperty, convertPropertyValue, getOrder, postProcessBeanFactory, setOrder
 
Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setProperties, setPropertiesArray, setPropertiesPersister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModPropertyPlaceholderConfigurer

public ModPropertyPlaceholderConfigurer()
Method Detail

getCustomConfigSystemProperty

public String getCustomConfigSystemProperty()

setCustomConfigSystemProperty

public void setCustomConfigSystemProperty(String customConfigSystemProperty)

setLocations

public void setLocations(Resource[] locations)
Overrides:
setLocations in class PropertiesLoaderSupport

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setBeanName

public void setBeanName(String beanName)
Specified by:
setBeanName in interface BeanNameAware
Overrides:
setBeanName in class PlaceholderConfigurerSupport

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
Specified by:
setBeanFactory in interface BeanFactoryAware
Overrides:
setBeanFactory in class PlaceholderConfigurerSupport

setNullValue

public void setNullValue(String nullValue)
Overrides:
setNullValue in class PlaceholderConfigurerSupport

processProperties

protected void processProperties(ConfigurableListableBeanFactory beanFactoryToProcess,
                                 Properties props)
                          throws BeansException
Overrides:
processProperties in class PropertyPlaceholderConfigurer
Throws:
BeansException

getCustomConfigFileLocation

public String getCustomConfigFileLocation()

setCustomConfigFileLocation

public void setCustomConfigFileLocation(String customConfigFileLocation)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.