Class PluginManager


  • public class PluginManager
    extends java.lang.Object
    Manages Plugins, registering them with a CandidateRegistry when loaded and removing them when unloaded.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Plugin loadPlugin​(java.net.URL... urls)
      Loads classes from a plugin defined by a Module.
      Plugin loadPluginAndScan​(java.lang.String... packageNamePrefixes)
      Scans the given package prefixes and creates a Plugin for any annotated types located during the scan.
      Plugin loadPluginAndScan​(java.net.URL... urls)
      Loads jars at the given URLs, scans for annotated types and creates a Plugin.
      void unload​(Plugin plugin)
      Attempts to unload the given plugin.
      • Methods inherited from class java.lang.Object

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