mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
expression parser uses context's ConversionService by default
This commit is contained in:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user