edu.uci.isr.yancees.server.plugin.subscription.require
Class RequirePlugin
java.lang.Object
edu.uci.isr.yancees.plugin.AbstractPlugin
edu.uci.isr.yancees.server.plugin.subscription.require.RequirePlugin
- All Implemented Interfaces:
- PluginInterface, PluginListenerInterface
- public class RequirePlugin
- extends AbstractPlugin
This plug-in deals with tags that are handled by Siena. This is the
only plug-in that talks with Siena directly.
Methods inherited from class edu.uci.isr.yancees.plugin.AbstractPlugin |
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 |
RequirePlugin
public RequirePlugin(org.w3c.dom.Node subTree)
- Parameters:
subTree
- is the DOM tree this plugin is responsible for executing
evalutation of this plugin is published.
dispose
public void dispose()
- Description copied from class:
AbstractPlugin
- 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 PluginInterface
- Overrides:
dispose
in class AbstractPlugin
receivePluginNotification
public void receivePluginNotification(EventInterface evt,
PluginInterface source)
- Receives a notification from another plug-in, lower in the hierarchy
- Specified by:
receivePluginNotification
in interface PluginListenerInterface
- Specified by:
receivePluginNotification
in class AbstractPlugin
- Parameters:
evt
- is the event receivedsource
- 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 receivedsource
- is the plug-in sending the notification.