クラス RouterFactoryBean
java.lang.ObjectSE
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
org.springframework.integration.config.AbstractStandardMessageHandlerFactoryBean
org.springframework.integration.config.RouterFactoryBean
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、BeanNameAware、DisposableBean、FactoryBean<MessageHandler>、ApplicationContextAware、ApplicationEventPublisherAware
メッセージルーターを作成するためのファクトリ Bean。
- 作成者:
- Mark Fisher, Jonas Partner, Oleg Zhurakousky, Dave Syer, Gary Russell, David Liu, Artem Bilan
フィールドのサマリー
クラス org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean から継承されたフィールド
loggerインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected booleanprotected voidprotected AbstractMessageRouterconfigureRouter(AbstractMessageRouter router) protected MessageHandlercreateExpressionEvaluatingHandler(Expression expression) protected MessageHandlercreateMethodInvokingHandler(ObjectSE targetObject, @Nullable StringSE targetMethodName) サブクラスは、MessageHandler を作成するためにこのメソッドを実装する必要があります。protected AbstractMappingMessageRoutercreateMethodInvokingRouter(ObjectSE targetObject, @Nullable StringSE targetMethodName) protected ClassSE<? extends MessageHandler> サブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。protected booleanvoidsetApplySequence(BooleanSE applySequence) voidsetChannelMappings(MapSE<StringSE, StringSE> channelMappings) voidsetDefaultOutputChannel(MessageChannel defaultOutputChannel) voidsetDefaultOutputChannelName(StringSE defaultOutputChannelName) voidsetIgnoreSendFailures(BooleanSE ignoreSendFailures) voidvoidsetResolutionRequired(BooleanSE resolutionRequired) voidクラス org.springframework.integration.config.AbstractStandardMessageHandlerFactoryBean から継承されたメソッド
checkForIllegalTarget, createDefaultHandler, createHandler, createMessageProcessingHandler, destroy, getSendTimeout, methodIsHandleMessageOrEmpty, postProcessReplyProducer, setExpression, setExpressionString, setRequiresReply, setSendTimeout, setTargetMethodName, setTargetObjectクラス org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean から継承されたメソッド
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
コンストラクターの詳細
RouterFactoryBean
public RouterFactoryBean()
メソッドの詳細
setDefaultOutputChannel
setDefaultOutputChannelName
setPrefix
setSuffix
setResolutionRequired
setApplySequence
setIgnoreSendFailures
setChannelMappings
createMethodInvokingHandler
protected MessageHandler createMethodInvokingHandler(ObjectSE targetObject, @Nullable StringSE targetMethodName) クラスからコピーされた説明:AbstractStandardMessageHandlerFactoryBeanサブクラスは、MessageHandler を作成するためにこのメソッドを実装する必要があります。- 次で指定:
- クラス
AbstractStandardMessageHandlerFactoryBeanのcreateMethodInvokingHandler - パラメーター:
targetObject- メソッドの呼び出しに使用するオブジェクト。targetMethodName- 呼び出すターゲットオブジェクトのメソッド名。- 戻り値:
MessageHandler実装を呼び出すメソッド。
createExpressionEvaluatingHandler
createMethodInvokingRouter
protected AbstractMappingMessageRouter createMethodInvokingRouter(ObjectSE targetObject, @Nullable StringSE targetMethodName) configureRouter
configureMappingRouter
canBeUsedDirect
- オーバーライド:
- クラス
AbstractStandardMessageHandlerFactoryBeanのcanBeUsedDirect
noRouterAttributesProvided
protected boolean noRouterAttributesProvided()getPreCreationHandlerType
クラスからコピーされた説明:AbstractSimpleMessageHandlerFactoryBeanサブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。ハンドラーの作成後、実際の型が使用されます。- オーバーライド:
- クラス
AbstractSimpleMessageHandlerFactoryBean<MessageHandler>のgetPreCreationHandlerType - 戻り値:
- 型。