ch.elca.el4j.core.config
Class JndiPropertyPlaceholderConfigurer
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.JndiPropertyPlaceholderConfigurer
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, BeanFactoryPostProcessor, Ordered, PriorityOrdered
public class JndiPropertyPlaceholderConfigurer
- extends PropertyPlaceholderConfigurer
This subclass of PropertyPlaceholderConfigurer
acts a bit like ServletContextPropertyPlaceholderConfigurer
but searches for JNDI entries instead. This allows to configure an
application more easily at deployment time through the container's admin
console for instance.
- Author:
- Sylvain Laurent (SLA), Andreas Bur (ABU)
- See Also:
JndiPropertyOverrideConfigurer
- File-location:
- JndiPropertyPlaceholderConfigurer
- Last check-in date:
- 2009-08-04 15:13:46 +0200 (Di, 04. Aug 2009) by swismer for revision 3879
Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
parseStringValue, processProperties, resolvePlaceholder, resolveSystemProperty, setBeanFactory, setBeanName, 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 |
JndiPropertyPlaceholderConfigurer
public JndiPropertyPlaceholderConfigurer()
getJndiPropertyConfigurationHelper
public JndiConfigurationHelper getJndiPropertyConfigurationHelper()
- Returns:
- Returns the JNDI configuration helper.
setJndiPropertyConfigurationHelper
public void setJndiPropertyConfigurationHelper(JndiConfigurationHelper jndiPropertyConfigurationHelper)
- Sets the JNDI configuration helper. Default is
JndiConfigurationHelper
.
- Parameters:
jndiPropertyConfigurationHelper
- A JNDI configuration helper.
resolvePlaceholder
protected String resolvePlaceholder(String placeholder,
Properties props)
-
- Overrides:
resolvePlaceholder
in class PropertyPlaceholderConfigurer
Copyright © 2005-2011 ELCA. All Rights Reserved.