|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.support.AbstractExpressionEvaluator
public abstract class AbstractExpressionEvaluator
Base class providing common functionality for using Spring expression language.
| Constructor Summary | |
|---|---|
AbstractExpressionEvaluator()
|
|
| Method Summary | ||
|---|---|---|
void |
afterPropertiesSet()
|
|
protected Object |
evaluateExpression(Expression expression)
|
|
protected
|
evaluateExpression(Expression expression,
Class<T> expectedType)
|
|
protected Object |
evaluateExpression(Expression expression,
Object input)
|
|
protected
|
evaluateExpression(Expression expression,
Object input,
Class<T> expectedType)
|
|
protected Object |
evaluateExpression(String expression,
Object input)
|
|
protected
|
evaluateExpression(String expression,
Object input,
Class<T> expectedType)
|
|
protected StandardEvaluationContext |
getEvaluationContext()
Gets the evaluation context. |
|
protected StandardEvaluationContext |
getEvaluationContext(boolean beanFactoryRequired)
Emits a WARN log if the beanFactory field is null, unless the argument is false. |
|
void |
setBeanFactory(BeanFactory beanFactory)
|
|
void |
setConversionService(ConversionService conversionService)
Sets the conversion service. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExpressionEvaluator()
| Method Detail |
|---|
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory in interface BeanFactoryAware
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setConversionService(ConversionService conversionService)
conversionService - the new conversion serviceprotected StandardEvaluationContext getEvaluationContext()
protected final StandardEvaluationContext getEvaluationContext(boolean beanFactoryRequired)
beanFactoryRequired - set to false to suppress the warning.
protected Object evaluateExpression(String expression,
Object input)
protected <T> T evaluateExpression(String expression,
Object input,
Class<T> expectedType)
protected Object evaluateExpression(Expression expression,
Object input)
protected <T> T evaluateExpression(Expression expression,
Class<T> expectedType)
protected Object evaluateExpression(Expression expression)
protected <T> T evaluateExpression(Expression expression,
Object input,
Class<T> expectedType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||