public abstract class ExpressionUtils extends Object
Constructor and Description |
---|
ExpressionUtils() |
Modifier and Type | Method and Description |
---|---|
static StandardEvaluationContext |
createStandardEvaluationContext()
Used to create a context with no BeanFactory, usually in tests.
|
static StandardEvaluationContext |
createStandardEvaluationContext(BeanFactory beanFactory)
Obtains the context from the beanFactory if not null; emits a warning if the beanFactory
is null.
|
public static StandardEvaluationContext createStandardEvaluationContext()
public static StandardEvaluationContext createStandardEvaluationContext(BeanFactory beanFactory)
beanFactory
- The bean factory.