Spring for Apache Hadoop

org.springframework.yarn.support
Class ExpressionUtils

java.lang.Object
  extended by org.springframework.yarn.support.ExpressionUtils

public abstract class ExpressionUtils
extends java.lang.Object

Utility class with static methods for helping with establishing environments for SpEL expressions.

Author:
Gary Russell, Oleg Zhurakousky, Artem Bilan

Constructor Summary
ExpressionUtils()
           
 
Method Summary
static org.springframework.expression.spel.support.StandardEvaluationContext createStandardEvaluationContext()
          Used to create a context with no BeanFactory, usually in tests.
static org.springframework.expression.spel.support.StandardEvaluationContext createStandardEvaluationContext(org.springframework.beans.factory.BeanFactory beanFactory)
          Obtains the context from the beanFactory if not null; emits a warning if the beanFactory is null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionUtils

public ExpressionUtils()
Method Detail

createStandardEvaluationContext

public static org.springframework.expression.spel.support.StandardEvaluationContext createStandardEvaluationContext()
Used to create a context with no BeanFactory, usually in tests.

Returns:
The evaluation context.

createStandardEvaluationContext

public static org.springframework.expression.spel.support.StandardEvaluationContext createStandardEvaluationContext(org.springframework.beans.factory.BeanFactory beanFactory)
Obtains the context from the beanFactory if not null; emits a warning if the beanFactory is null.

Parameters:
beanFactory - The bean factory.
Returns:
The evaluation context.

Spring for Apache Hadoop