|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.isr.yancees.core.ActivePluginInstancesRegistry
public class ActivePluginInstancesRegistry
This class represents a global record of parsed subscription and notification trees. it is used by the protocol plug-ins as a blackboard, to collect infromation about these trees and perform necessary interaction with active plug-ins. This is kept updated by the SubscriberAPI.
Method Summary | |
---|---|
MOPluginInterface[] |
getActivePlugins(SubscriberInterface si,
java.lang.String tag)
|
MOPluginInterface[] |
getActiveTrees(SubscriberInterface si)
|
MOPluginInterface[] |
getActiveTrees(SubscriberInterface si,
java.lang.String tag)
|
static ActivePluginInstancesRegistry |
getInstance()
|
void |
registerPluginTree(MOPluginInterface pi,
SubscriberInterface si)
Associates the plug-in tree headed by pi under si |
void |
unregisterPluginTree(MOPluginInterface pi,
SubscriberInterface si)
removes the reference to pi from the record of si |
void |
uregisterSubscriber(SubscriberInterface si)
Removes all the records for a provides subscriber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ActivePluginInstancesRegistry getInstance()
public void registerPluginTree(MOPluginInterface pi, SubscriberInterface si)
pi
- is the HEAD plugin interface of the parsed treesi
- is the subscriber that originated the creation of the plug-in
evaluation tree headed by pipublic void unregisterPluginTree(MOPluginInterface pi, SubscriberInterface si)
pi
- is the HEAD of the plug-in evaluation tree to be removed from the si record.si
- is the record to be updated.public void uregisterSubscriber(SubscriberInterface si)
si
- is the record locator for a subscriber, which is its subscriber interfacepublic MOPluginInterface[] getActiveTrees(SubscriberInterface si)
si
- is the subscriber interface which active plug-ins are returned
public MOPluginInterface[] getActiveTrees(SubscriberInterface si, java.lang.String tag)
si
- is the subscriber interface that originated the creation of this treetag
- is the XML tag which the HEAD plug-in was creted to evaluate.
public MOPluginInterface[] getActivePlugins(SubscriberInterface si, java.lang.String tag)
si
- is the subscriber interface that originated the creation of this plug-in
in a given tree. All the active trees for this subscriber are searched and the
plug-ins matching the tag are returned.tag
- is the XML tag of the plug-in to look for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |