org.homeunix.thecave.buddi.plugin
Class BuddiPluginFactory

java.lang.Object
  extended by org.homeunix.thecave.moss.plugin.factory.PluginFactory
      extended by org.homeunix.thecave.buddi.plugin.BuddiPluginFactory

public class BuddiPluginFactory
extends PluginFactory


Field Summary
static java.io.FileFilter pluginFilter
           
 
Constructor Summary
BuddiPluginFactory()
           
 
Method Summary
static void forcePluginRefresh()
          Removes all the plugins from the cache.
static java.util.List<java.io.File> getPluginFiles()
           
static java.util.List<? extends MossPlugin> getPlugins(java.lang.Class<? extends MossPlugin> pluginType)
          Returns all plugins, both in the classpath and in plugin dirs, of the given type.
 
Methods inherited from class org.homeunix.thecave.moss.plugin.factory.PluginFactory
getMossPluginsFromJar, getValidPluginFromClasspath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginFilter

public static final java.io.FileFilter pluginFilter
Constructor Detail

BuddiPluginFactory

public BuddiPluginFactory()
Method Detail

forcePluginRefresh

public static void forcePluginRefresh()
Removes all the plugins from the cache. Next time the plugins are accessed, we will reload from disk.


getPlugins

public static java.util.List<? extends MossPlugin> getPlugins(java.lang.Class<? extends MossPlugin> pluginType)
Returns all plugins, both in the classpath and in plugin dirs, of the given type.

Parameters:
pluginType -
Returns:

getPluginFiles

public static java.util.List<java.io.File> getPluginFiles()