expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1834 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
456eb6a616
commit
75e4b86c95
|
|
@ -27,18 +27,18 @@ import org.springframework.util.Assert;
|
||||||
*/
|
*/
|
||||||
public class BeanExpressionContext {
|
public class BeanExpressionContext {
|
||||||
|
|
||||||
private final BeanFactory beanFactory;
|
private final ConfigurableBeanFactory beanFactory;
|
||||||
|
|
||||||
private final Scope scope;
|
private final Scope scope;
|
||||||
|
|
||||||
|
|
||||||
public BeanExpressionContext(BeanFactory beanFactory, Scope scope) {
|
public BeanExpressionContext(ConfigurableBeanFactory beanFactory, Scope scope) {
|
||||||
Assert.notNull(beanFactory, "BeanFactory must not be null");
|
Assert.notNull(beanFactory, "BeanFactory must not be null");
|
||||||
this.beanFactory = beanFactory;
|
this.beanFactory = beanFactory;
|
||||||
this.scope = scope;
|
this.scope = scope;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final BeanFactory getBeanFactory() {
|
public final ConfigurableBeanFactory getBeanFactory() {
|
||||||
return this.beanFactory;
|
return this.beanFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue