Spring Integration

org.springframework.integration.context
Class IntegrationContextUtils

java.lang.Object
  extended by org.springframework.integration.context.IntegrationContextUtils

public abstract class IntegrationContextUtils
extends Object

Utility methods for accessing common integration components from the BeanFactory.

Author:
Mark Fisher, Josh Long

Field Summary
static String DEFAULT_POLLER_METADATA_BEAN_NAME
           
static String ERROR_CHANNEL_BEAN_NAME
           
static String INTEGRATION_CONVERSION_SERVICE_BEAN_NAME
           
static String METADATA_PERSISTER_BEAN_NAME
           
static String NULL_CHANNEL_BEAN_NAME
           
static String TASK_SCHEDULER_BEAN_NAME
           
 
Constructor Summary
IntegrationContextUtils()
           
 
Method Summary
static ConversionService getConversionService(BeanFactory beanFactory)
           
static PollerMetadata getDefaultPollerMetadata(BeanFactory beanFactory)
           
static MessageChannel getErrorChannel(BeanFactory beanFactory)
           
static MetadataPersister getMetadataPersister(BeanFactory beanFactory)
           
static TaskScheduler getRequiredTaskScheduler(BeanFactory beanFactory)
           
static TaskScheduler getTaskScheduler(BeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METADATA_PERSISTER_BEAN_NAME

public static final String METADATA_PERSISTER_BEAN_NAME
See Also:
Constant Field Values

TASK_SCHEDULER_BEAN_NAME

public static final String TASK_SCHEDULER_BEAN_NAME
See Also:
Constant Field Values

ERROR_CHANNEL_BEAN_NAME

public static final String ERROR_CHANNEL_BEAN_NAME
See Also:
Constant Field Values

NULL_CHANNEL_BEAN_NAME

public static final String NULL_CHANNEL_BEAN_NAME
See Also:
Constant Field Values

INTEGRATION_CONVERSION_SERVICE_BEAN_NAME

public static final String INTEGRATION_CONVERSION_SERVICE_BEAN_NAME
See Also:
Constant Field Values

DEFAULT_POLLER_METADATA_BEAN_NAME

public static final String DEFAULT_POLLER_METADATA_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

IntegrationContextUtils

public IntegrationContextUtils()
Method Detail

getMetadataPersister

public static MetadataPersister getMetadataPersister(BeanFactory beanFactory)

getErrorChannel

public static MessageChannel getErrorChannel(BeanFactory beanFactory)

getTaskScheduler

public static TaskScheduler getTaskScheduler(BeanFactory beanFactory)

getRequiredTaskScheduler

public static TaskScheduler getRequiredTaskScheduler(BeanFactory beanFactory)

getDefaultPollerMetadata

public static PollerMetadata getDefaultPollerMetadata(BeanFactory beanFactory)

getConversionService

public static ConversionService getConversionService(BeanFactory beanFactory)

Spring Integration

Copyright © 2010. All Rights Reserved.