public abstract class AbstractChannelAdapterParser extends AbstractBeanDefinitionParser
MessageChannel を決定するロジックが含まれています: 'channel' 属性 が定義されている場合 - その値を 'channelName' として使用します。'id' 属性 が定義されている場合 - 実行時に DirectChannel を作成し、id の値を 'channelName' として使用します。現在のコンポーネントが他のコンポーネント内のネストされた要素として定義されている場合 (例: <chain>)、'id' および 'channel' 属性は無視され、このコンポーネントは AbstractEndpoint として解析されません。
ID_ATTRIBUTE, NAME_ATTRIBUTE| コンストラクターと説明 |
|---|
AbstractChannelAdapterParser() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected abstract AbstractBeanDefinition | doParse(ElementSE element, ParserContext parserContext, StringSE channelName) アダプター要素を解析するには、サブクラスがこのメソッドを実装する必要があります。 |
protected AbstractBeanDefinition | parseInternal(ElementSE element, ParserContext parserContext) |
protected StringSE | resolveId(ElementSE element, AbstractBeanDefinition definition, ParserContext parserContext) |
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliasescloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected final StringSE resolveId(ElementSE element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException
AbstractBeanDefinitionParser の resolveId BeanDefinitionStoreExceptionprotected final AbstractBeanDefinition parseInternal(ElementSE element, ParserContext parserContext)
AbstractBeanDefinitionParser の parseInternal protected abstract AbstractBeanDefinition doParse(ElementSE element, ParserContext parserContext, StringSE channelName)
element - 要素。parserContext - パーサーコンテキスト。channelName - チャンネル名。