edu.uci.isr.yancees.plugin.generic
Class GenericPlugin
java.lang.Object
edu.uci.isr.yancees.plugin.AbstractMOPlugin
edu.uci.isr.yancees.plugin.generic.GenericPlugin
- All Implemented Interfaces:
- MOPluginInterface, MOPluginListenerInterface, PluginInterface
public class GenericPlugin
- extends AbstractMOPlugin
The idea of this plug-in is to match unknown tags in the subscription DOM
tree and perform a runtime search and installation of it in the server. This plug-in
contains the logic to perform this runtime installation of new plug-ins.
Methods inherited from class edu.uci.isr.yancees.plugin.AbstractMOPlugin |
addListener, addRequiredPlugin, dispose, finalize, getExpectedPluginIDs, getFullContext, getFullPath, getId, getRequiredPluginsList, getSubscriber, getSubscription, getSubtree, getTag, hasChildren, publishOutput, publishOutput, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericPlugin
public GenericPlugin(SubscriberInterface si,
SubscriptionInterface sub,
org.w3c.dom.Node subTree)
- Parameters:
subTree
- is the DOM tree this plugin is responsible for executing
receivePluginNotification
public void receivePluginNotification(EventInterface evt,
MOPluginInterface source)
- Receives a notification from another plug-in
- Specified by:
receivePluginNotification
in interface MOPluginListenerInterface
- Specified by:
receivePluginNotification
in class AbstractMOPlugin
- Parameters:
evt
- is the event receivedsource
- 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 receivedsource
- is the plug-in sending the notification.