|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.lang.Object |
evaluateExpression(org.springframework.expression.Expression expression)
|
|
protected
|
evaluateExpression(org.springframework.expression.Expression expression,
java.lang.Class<T> expectedType)
|
|
protected java.lang.Object |
evaluateExpression(org.springframework.expression.Expression expression,
java.lang.Object input)
|
|
protected
|
evaluateExpression(org.springframework.expression.Expression expression,
java.lang.Object input,
java.lang.Class<T> expectedType)
|
|
protected java.lang.Object |
evaluateExpression(java.lang.String expression,
java.lang.Object input)
|
|
protected
|
evaluateExpression(java.lang.String expression,
java.lang.Object input,
java.lang.Class<T> expectedType)
|
|
protected org.springframework.expression.spel.support.StandardEvaluationContext |
getEvaluationContext()
Gets the evaluation context. |
|
protected org.springframework.expression.spel.support.StandardEvaluationContext |
getEvaluationContext(boolean beanFactoryRequired)
Emits a WARN log if the beanFactory field is null, unless the argument is false. |
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
|
void |
setConversionService(org.springframework.core.convert.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(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void setConversionService(org.springframework.core.convert.ConversionService conversionService)
conversionService
- the new conversion serviceprotected org.springframework.expression.spel.support.StandardEvaluationContext getEvaluationContext()
protected final org.springframework.expression.spel.support.StandardEvaluationContext getEvaluationContext(boolean beanFactoryRequired)
beanFactoryRequired
- set to false to suppress the warning.
protected java.lang.Object evaluateExpression(java.lang.String expression, java.lang.Object input)
protected <T> T evaluateExpression(java.lang.String expression, java.lang.Object input, java.lang.Class<T> expectedType)
protected java.lang.Object evaluateExpression(org.springframework.expression.Expression expression, java.lang.Object input)
protected <T> T evaluateExpression(org.springframework.expression.Expression expression, java.lang.Class<T> expectedType)
protected java.lang.Object evaluateExpression(org.springframework.expression.Expression expression)
protected <T> T evaluateExpression(org.springframework.expression.Expression expression, java.lang.Object input, java.lang.Class<T> expectedType)
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |