ch.elca.el4j.core.config
Class RefreshPropertyOverrideConfigurer

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.PropertyOverrideConfigurer
              extended by ch.elca.el4j.core.config.RefreshPropertyOverrideConfigurer
All Implemented Interfaces:
BeanNameAware, BeanFactoryPostProcessor, Ordered, PriorityOrdered

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

@Deprecated
public class RefreshPropertyOverrideConfigurer
extends PropertyOverrideConfigurer
implements BeanNameAware

HACK!!! This property override 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 override configurers don't have any influence on later loaded property override configurers. See Spring JIRA entry for more details. This bean must be used as prototype and must have attribute id set.

Author:
Martin Zeltner (MZE)
File-location:
RefreshPropertyOverrideConfigurer
Last check-in date:
2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.PropertyOverrideConfigurer
DEFAULT_BEAN_NAME_SEPARATOR
 
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
RefreshPropertyOverrideConfigurer()
          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.PropertyOverrideConfigurer
applyPropertyValue, hasPropertyOverridesFor, processKey, processProperties, setBeanNameSeparator, setIgnoreInvalidKeys
 
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

RefreshPropertyOverrideConfigurer

public RefreshPropertyOverrideConfigurer()
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

getBeanName

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


Copyright © 2005-2011 ELCA. All Rights Reserved.