Class PluginLoader


  • public class PluginLoader
    extends java.lang.Object
    load all the plugins according to plugins.json file.
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginLoader()
      create instance with the default configuration file
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.String pluginId)
      test if a plugin is present
      java.util.Map<java.lang.String,​ActionHandler> loadAllPlugins()
      load All the plugins, and return a Map an instance of each plugin WARNING : plugins are not thread safe
      void loadConfiguration()
      load the configuration file containing the list of plugins.
      ActionHandler newInstance​(java.lang.String pluginId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait