added missing setter method for the "valueSeparator" property (SPR-7429)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3522 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
3d413d4f55
commit
3af58a1434
|
|
@ -140,6 +140,7 @@ public class PropertyPlaceholderConfigurer extends PropertyResourceConfigurer
|
||||||
|
|
||||||
private BeanFactory beanFactory;
|
private BeanFactory beanFactory;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the prefix that a placeholder string starts with.
|
* Set the prefix that a placeholder string starts with.
|
||||||
* The default is "${".
|
* The default is "${".
|
||||||
|
|
@ -158,6 +159,16 @@ public class PropertyPlaceholderConfigurer extends PropertyResourceConfigurer
|
||||||
this.placeholderSuffix = placeholderSuffix;
|
this.placeholderSuffix = placeholderSuffix;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specify the separating character between the placeholder variable
|
||||||
|
* and the associated default value, or <code>null</code> if no such
|
||||||
|
* special character should be processed as a value separator.
|
||||||
|
* The default is ":".
|
||||||
|
*/
|
||||||
|
public void setValueSeparator(String valueSeparator) {
|
||||||
|
this.valueSeparator = valueSeparator;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the system property mode by the name of the corresponding constant,
|
* Set the system property mode by the name of the corresponding constant,
|
||||||
* e.g. "SYSTEM_PROPERTIES_MODE_OVERRIDE".
|
* e.g. "SYSTEM_PROPERTIES_MODE_OVERRIDE".
|
||||||
|
|
@ -255,6 +266,7 @@ public class PropertyPlaceholderConfigurer extends PropertyResourceConfigurer
|
||||||
this.beanFactory = beanFactory;
|
this.beanFactory = beanFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void processProperties(ConfigurableListableBeanFactory beanFactoryToProcess, Properties props)
|
protected void processProperties(ConfigurableListableBeanFactory beanFactoryToProcess, Properties props)
|
||||||
throws BeansException {
|
throws BeansException {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue