Skip to content
Snippets Groups Projects
Commit 2225808a authored by felmer's avatar felmer
Browse files

SSDM-6959: Using ExtendedProperties in order to resolve variables

parent ce739f05
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,8 @@ import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer; ...@@ -27,6 +27,8 @@ import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
import org.springframework.core.Constants; import org.springframework.core.Constants;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import ch.systemsx.cisd.common.properties.ExtendedProperties;
/** /**
* Bean that should be used instead of the {@link PropertyPlaceholderConfigurer} if you want to have access to the resolved properties not obligatory * Bean that should be used instead of the {@link PropertyPlaceholderConfigurer} if you want to have access to the resolved properties not obligatory
* from the Spring context. e.g. from JSP or so. * from the Spring context. e.g. from JSP or so.
...@@ -84,7 +86,7 @@ public class ExposablePropertyPlaceholderConfigurer extends PropertyPlaceholderC ...@@ -84,7 +86,7 @@ public class ExposablePropertyPlaceholderConfigurer extends PropertyPlaceholderC
final ConfigurableListableBeanFactory beanFactoryToProcess, final Properties props) final ConfigurableListableBeanFactory beanFactoryToProcess, final Properties props)
throws BeansException throws BeansException
{ {
resolvedProps = new Properties(); resolvedProps = new ExtendedProperties();
for (final Object key : props.keySet()) for (final Object key : props.keySet())
{ {
final String keyStr = key.toString(); final String keyStr = key.toString();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment