|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyndicatorCompleting
The Syndicator Completing extension point allows implementors to receive notification of a syndicator run completing.
The provider passes in a summary of changes to the extension point allowing implementors to determine what item level changes syndication performed during the run.
Note that throughout a syndication run an item may be saved multiple times as part of the internal syndication process. Many of these multiple updates are collapsed and combined into single change info of the final consistent item. As a result the changes provided may not match the amount of events from other event sources such as the more generic WCM JMS topics.
The extension keeps track of changes during the run in a non-persistent way and makes no guarantees of recovery from failure. If the system was to fail during a run the updates performed during that run may never be reported, please plan usage accordingly.
Also note that the extension is called during syndication completing so as of invoking the syndication run is still considered active. As a result its not possible to run syndication within the implementor for the given syndicator/syndicator pair.
The plugin is registered with WCM by providing a plugin.xml in the JAR file including the implementation and specifying and extension provider similar to this:
<extension point="com.ibm.workplace.wcm.api.SyndicatorCompleting" id="SamplePlugin"> <provider class="com.yourco.SamplePlugin"/> </extension>
This interface is designed to be implemented by clients. |
Method Summary | |
---|---|
Result |
onSyndicatorCompleting(Syndicator syndicator,
SyndicationSummary summary)
The registered extension is passed in info on the syndicator and also a summary that contains info on what syndication did during the run. |
Method Detail |
---|
Result onSyndicatorCompleting(Syndicator syndicator, SyndicationSummary summary)
syndicator
- the syndicator that is completing its runsummary
- contains information about the completing run.
Repository.getCurrentVirtualPortalContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |