|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationContextUtils
public abstract class IntegrationContextUtils
Utility methods for accessing common integration components from the BeanFactory.
Field Summary | |
---|---|
static java.lang.String |
ERROR_CHANNEL_BEAN_NAME
|
static java.lang.String |
INTEGRATION_CONVERSION_SERVICE_BEAN_NAME
|
static java.lang.String |
METADATA_STORE_BEAN_NAME
|
static java.lang.String |
NULL_CHANNEL_BEAN_NAME
|
static java.lang.String |
TASK_SCHEDULER_BEAN_NAME
|
Constructor Summary | |
---|---|
IntegrationContextUtils()
|
Method Summary | |
---|---|
static org.springframework.core.convert.ConversionService |
getConversionService(org.springframework.beans.factory.BeanFactory beanFactory)
Return the ConversionService bean whose name is "integrationConversionService" if available. |
static MessageChannel |
getErrorChannel(org.springframework.beans.factory.BeanFactory beanFactory)
Return the MessageChannel bean whose name is "errorChannel". |
static MetadataStore |
getMetadataStore(org.springframework.beans.factory.BeanFactory beanFactory)
Return the MetadataStore bean whose name is "metadataStore". |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TASK_SCHEDULER_BEAN_NAME
public static final java.lang.String ERROR_CHANNEL_BEAN_NAME
public static final java.lang.String NULL_CHANNEL_BEAN_NAME
public static final java.lang.String METADATA_STORE_BEAN_NAME
public static final java.lang.String INTEGRATION_CONVERSION_SERVICE_BEAN_NAME
Constructor Detail |
---|
public IntegrationContextUtils()
Method Detail |
---|
public static MetadataStore getMetadataStore(org.springframework.beans.factory.BeanFactory beanFactory)
MetadataStore
bean whose name is "metadataStore".
beanFactory
- BeanFactory for lookup, must not be null.public static MessageChannel getErrorChannel(org.springframework.beans.factory.BeanFactory beanFactory)
MessageChannel
bean whose name is "errorChannel".
beanFactory
- BeanFactory for lookup, must not be null.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.
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |