public class IntegrationContextUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TASK_SCHEDULER_BEAN_NAME |
static java.lang.String |
YARN_INTEGRATION_CONVERSION_SERVICE_BEAN_NAME |
| Constructor and Description |
|---|
IntegrationContextUtils() |
| 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
"integrationConversionService" if available. |
static org.springframework.scheduling.TaskScheduler |
getRequiredTaskScheduler(org.springframework.beans.factory.BeanFactory beanFactory)
Return the
TaskScheduler bean whose name is "taskScheduler". |
static org.springframework.scheduling.TaskScheduler |
getTaskScheduler(org.springframework.beans.factory.BeanFactory beanFactory)
Return the
TaskScheduler bean whose name is "taskScheduler" if
available. |
public static final java.lang.String TASK_SCHEDULER_BEAN_NAME
public static final java.lang.String YARN_INTEGRATION_CONVERSION_SERVICE_BEAN_NAME
public static org.springframework.scheduling.TaskScheduler getTaskScheduler(org.springframework.beans.factory.BeanFactory beanFactory)
TaskScheduler bean whose name is "taskScheduler" if
available.beanFactory - BeanFactory for lookup, must not be null.public static org.springframework.scheduling.TaskScheduler getRequiredTaskScheduler(org.springframework.beans.factory.BeanFactory beanFactory)
TaskScheduler bean whose name is "taskScheduler".beanFactory - BeanFactory for lookup, must not be null.java.lang.IllegalStateException - if no such bean is availablepublic static org.springframework.core.convert.ConversionService getConversionService(org.springframework.beans.factory.BeanFactory beanFactory)
ConversionService bean whose name is
"integrationConversionService" if available.beanFactory - BeanFactory for lookup, must not be null.