ch.elca.el4j.core.config
Class RefreshPropertyPlaceholderConfigurer
java.lang.Object
org.springframework.core.io.support.PropertiesLoaderSupport
org.springframework.beans.factory.config.PropertyResourceConfigurer
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
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
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefreshPropertyPlaceholderConfigurer
public RefreshPropertyPlaceholderConfigurer()
- Deprecated.
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.