edu.iu.iv.core.plugin
Interface PluginRegistry

All Known Implementing Classes:
BasicPluginRegistry

public interface PluginRegistry

A registry which keeps track of plugins and can identify those that support a particular model.

Author:
Team IVC

Method Summary
 java.util.Iterator getAllPlugins()
           
 java.util.Iterator getSupportingPlugins(java.lang.Object model)
          Returns an iterator over the plugins in this registry that support the given model.
 void register(Plugin plugin)
          Adds the given plugin to the registry.
 

Method Detail

register

public void register(Plugin plugin)
Adds the given plugin to the registry.

Parameters:
plugin - the plugin to add

getSupportingPlugins

public java.util.Iterator getSupportingPlugins(java.lang.Object model)
Returns an iterator over the plugins in this registry that support the given model.

Parameters:
model - the model support is desired for
Returns:
an iterator over the supporting plugins

getAllPlugins

public java.util.Iterator getAllPlugins()
Returns:
an iterator over all of this registry's plugins