public class IntegrationContextUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TASK_SCHEDULER_BEAN_NAME |
static String |
YARN_INTEGRATION_CONVERSION_SERVICE_BEAN_NAME |
| Constructor and Description |
|---|
IntegrationContextUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ConversionService |
getConversionService(BeanFactory beanFactory)
Return the
ConversionService bean whose name is
"integrationConversionService" if available. |
static TaskScheduler |
getRequiredTaskScheduler(BeanFactory beanFactory)
Return the
TaskScheduler bean whose name is "taskScheduler". |
static TaskScheduler |
getTaskScheduler(BeanFactory beanFactory)
Return the
TaskScheduler bean whose name is "taskScheduler" if
available. |
public static final String TASK_SCHEDULER_BEAN_NAME
public static final String YARN_INTEGRATION_CONVERSION_SERVICE_BEAN_NAME
public static TaskScheduler getTaskScheduler(BeanFactory beanFactory)
TaskScheduler bean whose name is "taskScheduler" if
available.beanFactory - BeanFactory for lookup, must not be null.public static TaskScheduler getRequiredTaskScheduler(BeanFactory beanFactory)
TaskScheduler bean whose name is "taskScheduler".beanFactory - BeanFactory for lookup, must not be null.IllegalStateException - if no such bean is availablepublic static ConversionService getConversionService(BeanFactory beanFactory)
ConversionService bean whose name is
"integrationConversionService" if available.beanFactory - BeanFactory for lookup, must not be null.