Class ModelPluginLoader

java.lang.Object
repast.simphony.plugin.ModelPluginLoader

public class ModelPluginLoader extends Object
Loads / unloads model plugins.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Constructor Details

    • ModelPluginLoader

      public ModelPluginLoader(org.java.plugin.PluginManager manager)
      Creates a ModelPluginLoader that uses the specified PluginManager.
      Parameters:
      manager -
  • Method Details

    • getManager

      public org.java.plugin.PluginManager getManager()
      Gets the PluginManger.
      Returns:
      the PluginManger.
    • setPath

      public void setPath(File path)
      Adds a plugin search path.
    • currentPath

      public String currentPath()
    • removePlugins

      public void removePlugins()
      Removes any currently registered plugins.
    • publishPlugins

      public void publishPlugins() throws saf.core.runtime.PluginDefinitionException
      Publishes any plugins found in the added paths.
      Throws:
      saf.core.runtime.PluginDefinitionException - if any errors were encountered while publishing the plugins.