edu.uci.isr.yancees.plugin
Interface PluginManagerInterface

All Known Subinterfaces:
MOPluginManagerInterface, ProtocolPluginManagerInterface
All Known Implementing Classes:
AbstractPluginManager, MOPluginManager, ProtocolPluginManager

public interface PluginManagerInterface

Author:
rsilvafi TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Method Summary
 void addFactory(PluginFactoryInterface factory)
          Registers a new factory in the plug-in manager to process the set of tags.
 void addUnknownTagFactory(PluginFactoryInterface factory)
          Registers the generic factory that handles unknown tags in the subscription process.
 PluginFactoryInterface[] getFactoriesList()
          Gets the list of all factories registered in the PluginManager
 java.lang.String[] getRegisteredTags()
           
 boolean isTagRegistered(java.lang.String tag)
           
 void removeFactory(PluginFactoryInterface factory)
          Registers a new factory in the plug-in manager
 

Method Detail

addFactory

void addFactory(PluginFactoryInterface factory)
Registers a new factory in the plug-in manager to process the set of tags. The list of tags is collected in the PluginFactoryInterface

Parameters:
factory - the factory instance

addUnknownTagFactory

void addUnknownTagFactory(PluginFactoryInterface factory)
Registers the generic factory that handles unknown tags in the subscription process. This factory is used to implement the dynamic download of plug-ins in case they are not currently installed.

Parameters:
factory - the factory instance

removeFactory

void removeFactory(PluginFactoryInterface factory)
Registers a new factory in the plug-in manager


getFactoriesList

PluginFactoryInterface[] getFactoriesList()
Gets the list of all factories registered in the PluginManager


getRegisteredTags

java.lang.String[] getRegisteredTags()
Returns:
a list of all the supported tags in this plugin manager. In other words, returs the list of tags registered for all plugins installed.

isTagRegistered

boolean isTagRegistered(java.lang.String tag)
Parameters:
tag - to be checked
Returns:
true if the tag is already registered, false otherwise.