public class ConsumerEndpointFactoryBean extends ObjectSE implements FactoryBean<AbstractEndpoint>, BeanFactoryAware, BeanNameAware, BeanClassLoaderAware, InitializingBean, SmartLifecycle, DisposableBean
AbstractEndpoint 集団用の FactoryBean 実装。必要なすべてのプロパティとライフサイクルを制御します。提供されている MessageChannel 実装では、PollableChannel の PollingConsumer、SubscribableChannel の EventDrivenConsumer、他のすべてのチャネル実装の ReactiveStreamsConsumer を実装します。OBJECT_TYPE_ATTRIBUTEDEFAULT_PHASE| コンストラクターと説明 |
|---|
ConsumerEndpointFactoryBean() |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
void | destroy() |
AbstractEndpoint | getObject() |
ClassSE<?> | getObjectType() |
int | getPhase() |
boolean | isAutoStartup() |
boolean | isRunning() |
void | setAdviceChain(ListSE<Advice> adviceChain) |
void | setAutoStartup(BooleanSE autoStartup) |
void | setBeanClassLoader(ClassLoaderSE classLoader) |
void | setBeanFactory(BeanFactory beanFactory) |
void | setBeanName(StringSE beanName) |
void | setChannelResolver(DestinationResolver<MessageChannel> channelResolver) 使用する DestinationResolver 戦略を指定します。 |
void | setHandler(ObjectSE handler) |
void | setInputChannel(MessageChannel inputChannel) |
void | setInputChannelName(StringSE inputChannelName) |
void | setPhase(int phase) |
void | setPollerMetadata(PollerMetadata pollerMetadata) |
void | setRole(StringSE role) |
void | setTaskScheduler(TaskScheduler taskScheduler) |
void | start() |
void | stop() |
void | stop(RunnableSE callback) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEisSingletonpublic void setHandler(ObjectSE handler)
public void setInputChannel(MessageChannel inputChannel)
public void setInputChannelName(StringSE inputChannelName)
public void setPollerMetadata(PollerMetadata pollerMetadata)
public void setChannelResolver(DestinationResolver<MessageChannel> channelResolver)
DestinationResolver 戦略を指定します。デフォルトは BeanFactoryChannelResolver です。channelResolver - チャネルリゾルバー。public void setBeanClassLoader(ClassLoaderSE classLoader)
BeanClassLoaderAware の setBeanClassLoader public void setAutoStartup(BooleanSE autoStartup)
public void setPhase(int phase)
public void setRole(StringSE role)
public void setBeanName(StringSE beanName)
BeanNameAware の setBeanName public void setBeanFactory(BeanFactory beanFactory)
BeanFactoryAware の setBeanFactory public void setTaskScheduler(TaskScheduler taskScheduler)
public void afterPropertiesSet()
InitializingBean の afterPropertiesSet public AbstractEndpoint getObject()
FactoryBean<AbstractEndpoint> の getObject public ClassSE<?> getObjectType()
FactoryBean<AbstractEndpoint> の getObjectType public boolean isAutoStartup()
SmartLifecycle の isAutoStartup public int getPhase()
Phased の getPhase SmartLifecycle の getPhase public void stop(RunnableSE callback)
SmartLifecycle の stop public void destroy()
DisposableBean の destroy