edu.uci.isr.yancees.server.dispatcher.elvin
Class ElvinPlugin

java.lang.Object
  extended byedu.uci.isr.yancees.plugin.AbstractPlugin
      extended byedu.uci.isr.yancees.server.dispatcher.elvin.ElvinPlugin
All Implemented Interfaces:
PluginInterface, PluginListenerInterface

public class ElvinPlugin
extends AbstractPlugin

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


Nested Class Summary
 class ElvinPlugin.NotificationHandler
          Callback object to receive events from the dispatcher.
 
Field Summary
 
Fields inherited from class edu.uci.isr.yancees.plugin.AbstractPlugin
myListeners, myRequiredPlugins
 
Constructor Summary
ElvinPlugin(org.w3c.dom.Node subTree)
           
 
Method Summary
protected  void finalize()
          Invoked by the GC...
 void receivePluginNotification(EventInterface[] evtList, PluginInterface source)
          Receives a list of events as notifications from another plug-in
 void receivePluginNotification(EventInterface evt, PluginInterface source)
          Receives a notification from another plug-in
 
Methods inherited from class edu.uci.isr.yancees.plugin.AbstractPlugin
addListener, addRequiredPlugin, dispose, 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

ElvinPlugin

public ElvinPlugin(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

finalize

protected void finalize()
                 throws java.lang.Throwable
Invoked by the GC... We perform the unsubscripe action here...

Overrides:
finalize in class AbstractPlugin
Throws:
java.lang.Throwable

receivePluginNotification

public void receivePluginNotification(EventInterface evt,
                                      PluginInterface source)
Receives a notification from another plug-in

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

receivePluginNotification

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

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