ch.elca.el4j.core.config
Class RefreshPropertyPlaceholderConfigurer

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 ch.elca.el4j.core.config.RefreshPropertyPlaceholderConfigurer
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, BeanFactoryPostProcessor, Ordered, PriorityOrdered

Deprecated. This former hack is no longer required. It is solved in ModuleApplicationContext and ModuleWebApplicationContext.

@Deprecated
public class RefreshPropertyPlaceholderConfigurer
extends PropertyPlaceholderConfigurer

HACK!!! This property placeholder configurer is used to circumvent the problem with the abstract application context. The application context instantiates the ordered bean factory post processor at the same time, so further loaded property placeholder configurers don't have any influence on later loaded property placeholder configurers. See Spring JIRA entry for more details. This bean must be used as prototype and must have attribute id set.

Author:
Alex Mathey (AMA)
File-location:
RefreshPropertyPlaceholderConfigurer
Last check-in date:
2009-12-01 10:59:54 +0100 (Di, 01. Dez 2009) by jonasha for revision 4010

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, 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
RefreshPropertyPlaceholderConfigurer()
          Deprecated.  
 
Method Summary
 String getBeanName()
          Deprecated.  
protected  boolean isSelfInstantiated()
          Deprecated.  
 void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
          Deprecated.  Creates a fresh instance of this class and invokes this method of the new instance.
 void setBeanName(String beanName)
          Deprecated. 
protected  void setSelfInstantiated(boolean selfInstantiated)
          Deprecated.  
 
Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
parseStringValue, processProperties, resolvePlaceholder, resolvePlaceholder, resolveSystemProperty, setBeanFactory, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeName, setValueSeparator
 
Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer
convertProperties, convertProperty, convertPropertyValue, getOrder, setOrder
 
Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
loadProperties, mergeProperties, 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
 

Constructor Detail

RefreshPropertyPlaceholderConfigurer

public RefreshPropertyPlaceholderConfigurer()
Deprecated. 
Method Detail

postProcessBeanFactory

public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
                            throws BeansException
Deprecated. 
Creates a fresh instance of this class and invokes this method of the new instance.

Specified by:
postProcessBeanFactory in interface BeanFactoryPostProcessor
Overrides:
postProcessBeanFactory in class PropertyResourceConfigurer
Throws:
BeansException

isSelfInstantiated

protected final boolean isSelfInstantiated()
Deprecated. 
Returns:
Returns the selfInstantiated.

setSelfInstantiated

protected final void setSelfInstantiated(boolean selfInstantiated)
Deprecated. 
Parameters:
selfInstantiated - The selfInstantiated to set.

setBeanName

public final void setBeanName(String beanName)
Deprecated. 

Specified by:
setBeanName in interface BeanNameAware
Overrides:
setBeanName in class PropertyPlaceholderConfigurer

getBeanName

public final String getBeanName()
Deprecated. 
Returns:
Returns the beanName.


Copyright © 2005-2011 ELCA. All Rights Reserved.