public class SourcePollingChannelAdapterSpec extends EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
componentsToRegister, endpointFactoryBean, handler
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
SourcePollingChannelAdapterSpec(MessageSource<?> messageSource) |
Modifier and Type | Method and Description |
---|---|
SourcePollingChannelAdapterSpec |
autoStartup(boolean autoStartup) |
SourcePollingChannelAdapterSpec |
phase(int phase) |
SourcePollingChannelAdapterSpec |
poller(PollerMetadata pollerMetadata) |
SourcePollingChannelAdapterSpec |
role(String role)
Specify the role for the endpoint.
|
assertHandler, doGet, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected SourcePollingChannelAdapterSpec(MessageSource<?> messageSource)
public SourcePollingChannelAdapterSpec phase(int phase)
phase
in class EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
phase
- the phase.SmartLifecycle
public SourcePollingChannelAdapterSpec autoStartup(boolean autoStartup)
autoStartup
in class EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
autoStartup
- the autoStartup.SmartLifecycle
public SourcePollingChannelAdapterSpec poller(PollerMetadata pollerMetadata)
poller
in class EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
pollerMetadata
- the pollerMetadataAbstractPollingEndpoint
public SourcePollingChannelAdapterSpec role(String role)
EndpointSpec
role
in class EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
role
- the role for this endpoint.SmartLifecycle
,
SmartLifecycleRoleController