Class SourcePollingChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,reactor.util.function.Tuple2<F,H>>
org.springframework.integration.dsl.EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
org.springframework.integration.dsl.SourcePollingChannelAdapterSpec
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<reactor.util.function.Tuple2<SourcePollingChannelAdapterFactoryBean,,MessageSource<?>>> InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class SourcePollingChannelAdapterSpec
extends EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.EndpointSpec
componentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, targetFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSourcePollingChannelAdapterSpec(MessageSource<?> messageSource) -
Method Summary
Modifier and TypeMethodDescriptionautoStartup(boolean autoStartup) phase(int phase) poller(PollerMetadata pollerMetadata) Specify the role for the endpoint.Methods inherited from class org.springframework.integration.dsl.EndpointSpec
assertHandler, doGet, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
SourcePollingChannelAdapterSpec
-
-
Method Details
-
phase
- Specified by:
phasein classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
phase- the phase.- Returns:
- the endpoint spec.
- See Also:
-
autoStartup
- Specified by:
autoStartupin classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
autoStartup- the autoStartup.- Returns:
- the endpoint spec
- See Also:
-
poller
- Specified by:
pollerin classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
pollerMetadata- the pollerMetadata- Returns:
- the endpoint spec.
- See Also:
-
role
Description copied from class:EndpointSpecSpecify the role for the endpoint. Such endpoints can be started/stopped as a group.- Specified by:
rolein classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
role- the role for this endpoint.- Returns:
- the endpoint spec
- See Also:
-