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, target -
Constructor Summary
Constructors Modifier Constructor Description protectedSourcePollingChannelAdapterSpec(MessageSource<?> messageSource) -
Method Summary
Modifier and Type Method Description SourcePollingChannelAdapterSpecautoStartup(boolean autoStartup)SourcePollingChannelAdapterSpecphase(int phase)SourcePollingChannelAdapterSpecpoller(PollerMetadata pollerMetadata)SourcePollingChannelAdapterSpecrole(String role)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
-
Method Details
-
phase
- Specified by:
phasein classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>- Parameters:
phase- the phase.- Returns:
- the endpoint spec.
- See Also:
SmartLifecycle
-
autoStartup
- Specified by:
autoStartupin classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>- Parameters:
autoStartup- the autoStartup.- Returns:
- the endpoint spec
- See Also:
SmartLifecycle
-
poller
- Specified by:
pollerin classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>- Parameters:
pollerMetadata- the pollerMetadata- Returns:
- the endpoint spec.
- See Also:
AbstractPollingEndpoint
-
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:
SmartLifecycle,SmartLifecycleRoleController
-