クラス AbstractChannelAdapterParser
java.lang.ObjectSE
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
- 実装済みのインターフェース一覧:
BeanDefinitionParser
- 既知の直属サブクラス
AbstractOutboundChannelAdapterParser, AbstractPollingInboundChannelAdapterParser, AbstractXmppInboundChannelAdapterParser, EventInboundChannelAdapterParser, FileTailInboundChannelAdapterParser, ImapIdleChannelAdapterParser, KafkaMessageDrivenChannelAdapterParser, MqttMessageDrivenChannelAdapterParser, NotificationListeningChannelAdapterParser, RedisInboundChannelAdapterParser, RedisQueueInboundChannelAdapterParser, StompInboundChannelAdapterParser, TcpInboundChannelAdapterParser, UdpInboundChannelAdapterParser, WebSocketInboundChannelAdapterParser
チャネルアダプターのベースパーサー。
MessageChannel を決定するロジックが含まれています: 'channel' 属性 が定義されている場合 - その値を 'channelName' として使用します。'id' 属性 が定義されている場合 - 実行時に DirectChannel を作成し、id の値を 'channelName' として使用します。現在のコンポーネントが他のコンポーネント内のネストされた要素として定義されている場合 (例: <chain>)、'id' および 'channel' 属性は無視され、このコンポーネントは AbstractEndpoint として解析されません。
- 作成者:
- Mark Fisher, Artem Bilan, Gary Russell
フィールド概要
クラス AbstractBeanDefinitionParser から継承されたフィールド
ID_ATTRIBUTE, NAME_ATTRIBUTEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明protected abstract AbstractBeanDefinitiondoParse(ElementSE element, ParserContext parserContext, StringSE channelName) アダプター要素を解析するには、サブクラスがこのメソッドを実装する必要があります。protected final AbstractBeanDefinitionparseInternal(ElementSE element, ParserContext parserContext) protected final StringSEresolveId(ElementSE element, AbstractBeanDefinition definition, ParserContext parserContext)
コンストラクターの詳細
AbstractChannelAdapterParser
public AbstractChannelAdapterParser()
方法の詳細
resolveId
protected final StringSE resolveId(ElementSE element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException - オーバーライド:
- クラス
AbstractBeanDefinitionParserのresolveId - 例外:
BeanDefinitionStoreException
parseInternal
protected final AbstractBeanDefinition parseInternal(ElementSE element, ParserContext parserContext) - 次で指定:
- クラス
AbstractBeanDefinitionParserのparseInternal
doParse
protected abstract AbstractBeanDefinition doParse(ElementSE element, ParserContext parserContext, StringSE channelName) アダプター要素を解析するには、サブクラスがこのメソッドを実装する必要があります。MessageChannel Bean の名前が提供されます。- パラメーター:
element- 要素。parserContext- パーサーコンテキスト。channelName- チャンネル名。- 戻り値:
- Bean 定義。