クラス FeedEntryMessageSource
java.lang.ObjectSE
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.endpoint.AbstractMessageSource<com.rometools.rome.feed.synd.SyndEntry>
org.springframework.integration.feed.inbound.FeedEntryMessageSource
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、BeanNameAware、DisposableBean、InitializingBean、MessageSource<com.rometools.rome.feed.synd.SyndEntry>、IntegrationPattern、NamedComponent、IntegrationInboundManagement、IntegrationManagement
public class FeedEntryMessageSource
extends AbstractMessageSource<com.rometools.rome.feed.synd.SyndEntry>
MessageSource のこの実装は、'feedUrl' 属性で識別されるフィードの個々の SyndEntry を生成します。- 導入:
- 2.0
- 作成者:
- Josh Long, Mario Gray, Oleg Zhurakousky, Artem Bilan, Aaron Loes, Christian Tzolov
ネストされたクラスの要約
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールドのサマリー
クラス org.springframework.integration.util.AbstractExpressionEvaluator から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEコンストラクターの概要
コンストラクターコンストラクター説明FeedEntryMessageSource(URLSE feedUrl, StringSE metadataKey) HttpURLFeedFetcher を使用して指定された URL からフィードを読み取る FeedEntryMessageSource を作成します。FeedEntryMessageSource(Resource feedResource, StringSE metadataKey) 指定されたResourceからフィードを読み取る FeedEntryMessageSource を作成します。方法の概要
修飾子と型メソッド説明protected @Nullable com.rometools.rome.feed.synd.SyndEntryサブクラスはこのメソッドを実装する必要があります。protected voidonInit()voidsetMetadataStore(MetadataStore metadataStore) voidsetPreserveWireFeed(boolean preserveWireFeed) WireFeedをターゲットSyndFeedに保持する必要があるかどうかを示すフラグを指定します。voidsetSyndFeedInput(com.rometools.rome.io.SyndFeedInput syndFeedInput) フィード XML ドキュメントのパーサーを指定します。toString()クラス org.springframework.integration.endpoint.AbstractMessageSource から継承されたメソッド
buildMessage, destroy, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedTypeクラス org.springframework.integration.util.AbstractExpressionEvaluator から継承されたメソッド
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService, setSimpleEvaluationContextクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
getThisAs, isObserved, registerObservationRegistryインターフェース org.springframework.integration.core.MessageSource から継承されたメソッド
getIntegrationPatternTypeインターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド
getBeanName
コンストラクターの詳細
FeedEntryMessageSource
FeedEntryMessageSource
メソッドの詳細
setMetadataStore
setSyndFeedInput
public void setSyndFeedInput(com.rometools.rome.io.SyndFeedInput syndFeedInput) フィード XML ドキュメントのパーサーを指定します。- パラメーター:
syndFeedInput- 使用するSyndFeedInput。- 導入:
- 5.0
setPreserveWireFeed
public void setPreserveWireFeed(boolean preserveWireFeed) WireFeedをターゲットSyndFeedに保持する必要があるかどうかを示すフラグを指定します。- パラメーター:
preserveWireFeed-booleanフラグ。- 導入:
- 5.0
- 関連事項:
getComponentType
onInit
protected void onInit()- オーバーライド:
- クラス
AbstractExpressionEvaluatorのonInit
doReceive
protected @Nullable com.rometools.rome.feed.synd.SyndEntry doReceive()クラスからコピーされた説明:AbstractMessageSourceサブクラスはこのメソッドを実装する必要があります。通常、返される値は型 T のpayloadになりますが、返される値はペイロードが型 T であるMessageインスタンスである場合もあります。また、追加のヘッダーの設定に使用されるAbstractIntegrationMessageBuilderである場合もあります。- 次で指定:
- クラス
AbstractMessageSource<com.rometools.rome.feed.synd.SyndEntry>のdoReceive - 戻り値:
- 返された値。
toString