Class SourcePollingChannelAdapterSpec
java.lang.Object
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:
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, handler
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
SourcePollingChannelAdapterSpec
(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, poller
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
SourcePollingChannelAdapterSpec
-
-
Method Details
-
phase
- Specified by:
phase
in classEndpointSpec<SourcePollingChannelAdapterSpec,
SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
phase
- the phase.- Returns:
- the endpoint spec.
- See Also:
-
autoStartup
- Specified by:
autoStartup
in classEndpointSpec<SourcePollingChannelAdapterSpec,
SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
autoStartup
- the autoStartup.- Returns:
- the endpoint spec
- See Also:
-
poller
- Specified by:
poller
in classEndpointSpec<SourcePollingChannelAdapterSpec,
SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
pollerMetadata
- the pollerMetadata- Returns:
- the endpoint spec.
- See Also:
-
role
Description copied from class:EndpointSpec
Specify the role for the endpoint. Such endpoints can be started/stopped as a group.- Specified by:
role
in classEndpointSpec<SourcePollingChannelAdapterSpec,
SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
role
- the role for this endpoint.- Returns:
- the endpoint spec
- See Also:
-