public class StateMachineContextUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONVERSION_SERVICE_BEAN_NAME |
static java.lang.String |
EVALUATION_CONTEXT_BEAN_NAME |
Constructor and Description |
---|
StateMachineContextUtils() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.core.convert.ConversionService |
getConversionService(org.springframework.beans.factory.BeanFactory beanFactory)
Return the
ConversionService bean whose name is
"yarnConversionService" if available. |
static org.springframework.expression.spel.support.StandardEvaluationContext |
getEvaluationContext(org.springframework.beans.factory.BeanFactory beanFactory)
Return the
StandardEvaluationContext bean whose name is
"yarnEvaluationContext" if available. |
static StateMachineEventPublisher |
getEventPublisher(org.springframework.beans.factory.BeanFactory beanFactory)
Return the
StateMachineEventPublisher bean whose name is "stateMachineEventPublisher" if
available. |
public static final java.lang.String CONVERSION_SERVICE_BEAN_NAME
public static final java.lang.String EVALUATION_CONTEXT_BEAN_NAME
public static org.springframework.core.convert.ConversionService getConversionService(org.springframework.beans.factory.BeanFactory beanFactory)
ConversionService
bean whose name is
"yarnConversionService" if available.beanFactory
- BeanFactory for lookup, must not be null.ConversionService
bean whose name is
"yarnConversionService" if available.public static org.springframework.expression.spel.support.StandardEvaluationContext getEvaluationContext(org.springframework.beans.factory.BeanFactory beanFactory)
StandardEvaluationContext
bean whose name is
"yarnEvaluationContext" if available.beanFactory
- BeanFactory for lookup, must not be null.StandardEvaluationContext
bean whose name
is "yarnEvaluationContext" .public static StateMachineEventPublisher getEventPublisher(org.springframework.beans.factory.BeanFactory beanFactory)
StateMachineEventPublisher
bean whose name is "stateMachineEventPublisher" if
available.beanFactory
- BeanFactory for lookup, must not be null.