edu.uci.isr.yancees.server.plugin.subscription.filter
Class FilterPlugin

java.lang.Object
  extended byedu.uci.isr.yancees.plugin.AbstractMOPlugin
      extended byedu.uci.isr.yancees.server.plugin.subscription.filter.FilterPlugin
All Implemented Interfaces:
MOPluginInterface, MOPluginListenerInterface, PluginInterface

public class FilterPlugin
extends AbstractMOPlugin

This plug-in deals with tags that are handled by Siena. This is the only plug-in that talks with Siena directly.


Nested Class Summary
 class FilterPlugin.NotificationHandler
          Callback object to receive events from the dispatcher.
 
Field Summary
 
Fields inherited from class edu.uci.isr.yancees.plugin.AbstractMOPlugin
myListeners, myRequiredPlugins
 
Constructor Summary
FilterPlugin(org.w3c.dom.Node subTree)
           
 
Method Summary
 void dispose()
          This method is part of the plug-in memory and resources management.
 void receivePluginNotification(EventInterface[] evtList, MOPluginInterface source)
          Receives a list of events as notifications from another plug-in
 void receivePluginNotification(EventInterface evt, MOPluginInterface source)
          Receives a notification from another plug-in, lower in the hierarchy
 
Methods inherited from class edu.uci.isr.yancees.plugin.AbstractMOPlugin
addListener, addRequiredPlugin, finalize, getExpectedPluginIDs, getFullContext, getFullPath, getId, getRequiredPluginsList, getSubtree, getTag, hasChildren, publishOutput, publishOutput, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterPlugin

public FilterPlugin(org.w3c.dom.Node subTree)
Parameters:
subTree - is the DOM tree this plugin is responsible for executing evalutation of this plugin is published.
Method Detail

dispose

public void dispose()
Description copied from class: AbstractMOPlugin
This method is part of the plug-in memory and resources management. Clear all the resources allocated by this plug-in i.e. the plug-in references this plug-in depends on, as well as the listeners. This makes this object be eligible for garbage collection.

Specified by:
dispose in interface MOPluginInterface
Overrides:
dispose in class AbstractMOPlugin

receivePluginNotification

public void receivePluginNotification(EventInterface evt,
                                      MOPluginInterface source)
Receives a notification from another plug-in, lower in the hierarchy

Specified by:
receivePluginNotification in interface MOPluginListenerInterface
Specified by:
receivePluginNotification in class AbstractMOPlugin
Parameters:
evt - is the event received
source - is the plug-in sending the notification.

receivePluginNotification

public void receivePluginNotification(EventInterface[] evtList,
                                      MOPluginInterface source)
Receives a list of events as notifications from another plug-in

Specified by:
receivePluginNotification in interface MOPluginListenerInterface
Specified by:
receivePluginNotification in class AbstractMOPlugin
Parameters:
evtList - is the list of events received
source - is the plug-in sending the notification.