Package ddf.catalog.pubsub
Class FanoutEventProcessor
java.lang.Object
ddf.catalog.pubsub.EventProcessorImpl
ddf.catalog.pubsub.FanoutEventProcessor
- All Implemented Interfaces:
ddf.catalog.event.EventProcessor,ddf.catalog.plugin.PostIngestPlugin,org.osgi.service.event.EventHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class ddf.catalog.pubsub.EventProcessorImpl
EventProcessorImpl.DateType -
Field Summary
Fields inherited from class ddf.catalog.pubsub.EventProcessorImpl
bundleContext, catalog, ENTERING, EQUATORIAL_RADIUS_IN_METERS, eventAdmin, EXITING, preDelivery, preSubscriptionFields inherited from interface ddf.catalog.event.EventProcessor
EVENT_METACARD, EVENT_OLD_METACARD, EVENT_TIME, EVENTS_TOPIC_CREATED, EVENTS_TOPIC_DELETED, EVENTS_TOPIC_UPDATED -
Constructor Summary
ConstructorsConstructorDescriptionFanoutEventProcessor(org.osgi.framework.BundleContext bundleContext, org.osgi.service.event.EventAdmin eventAdmin, List<ddf.catalog.plugin.PreSubscriptionPlugin> preSubscription, List<ddf.catalog.plugin.PreDeliveryPlugin> preDelivery, ddf.catalog.CatalogFramework catalog) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit()voidnotifyCreated(ddf.catalog.data.Metacard newMetacard) voidnotifyDeleted(ddf.catalog.data.Metacard oldMetacard) voidnotifyUpdated(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard) Methods inherited from class ddf.catalog.pubsub.EventProcessorImpl
createSubscription, createSubscription, deleteSubscription, handleEvent, postEvent, process, process, process, processEntry, updateSubscription
-
Constructor Details
-
FanoutEventProcessor
-
-
Method Details
-
init
public void init()- Overrides:
initin classEventProcessorImpl
-
destroy
public void destroy()- Overrides:
destroyin classEventProcessorImpl
-
notifyCreated
public void notifyCreated(ddf.catalog.data.Metacard newMetacard) - Specified by:
notifyCreatedin interfaceddf.catalog.event.EventProcessor- Overrides:
notifyCreatedin classEventProcessorImpl
-
notifyUpdated
public void notifyUpdated(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard) - Specified by:
notifyUpdatedin interfaceddf.catalog.event.EventProcessor- Overrides:
notifyUpdatedin classEventProcessorImpl
-
notifyDeleted
public void notifyDeleted(ddf.catalog.data.Metacard oldMetacard) - Specified by:
notifyDeletedin interfaceddf.catalog.event.EventProcessor- Overrides:
notifyDeletedin classEventProcessorImpl
-