Package org.pf4j

Class JarPluginLoader

  • All Implemented Interfaces:
    PluginLoader

    public class JarPluginLoader
    extends java.lang.Object
    implements PluginLoader
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isApplicable​(java.nio.file.Path pluginPath)
      Returns true if this loader is applicable to the given Path.
      java.lang.ClassLoader loadPlugin​(java.nio.file.Path pluginPath, PluginDescriptor pluginDescriptor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JarPluginLoader

        public JarPluginLoader​(PluginManager pluginManager)
    • Method Detail

      • isApplicable

        public boolean isApplicable​(java.nio.file.Path pluginPath)
        Description copied from interface: PluginLoader
        Returns true if this loader is applicable to the given Path.
        Specified by:
        isApplicable in interface PluginLoader
        Returns: