expression parser uses context's ConversionService by default

master
Juergen Hoeller 15 years ago
parent 7123e4f81e
commit 7aff0755a3
  1. 6
      org.springframework.beans/src/main/java/org/springframework/beans/factory/config/BeanExpressionContext.java

@ -27,18 +27,18 @@ import org.springframework.util.Assert;
*/
public class BeanExpressionContext {
private final BeanFactory beanFactory;
private final ConfigurableBeanFactory beanFactory;
private final Scope scope;
public BeanExpressionContext(BeanFactory beanFactory, Scope scope) {
public BeanExpressionContext(ConfigurableBeanFactory beanFactory, Scope scope) {
Assert.notNull(beanFactory, "BeanFactory must not be null");
this.beanFactory = beanFactory;
this.scope = scope;
}
public final BeanFactory getBeanFactory() {
public final ConfigurableBeanFactory getBeanFactory() {
return this.beanFactory;
}

Loading…
Cancel
Save