クラス 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
ネストされたクラスの概要
インターフェース IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールド概要
クラス AbstractExpressionEvaluator から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース 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()クラス AbstractMessageSource から継承されたメソッド
buildMessage, destroy, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedTypeクラス AbstractExpressionEvaluator から継承されたメソッド
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService, setSimpleEvaluationContextクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース IntegrationManagement から継承されたメソッド
getThisAs, isObserved, registerObservationRegistryインターフェース MessageSource から継承されたメソッド
getIntegrationPatternTypeインターフェース 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