Package org.pf4j

Interface PluginLoader

All Known Implementing Classes:
BasePluginLoader, CompoundPluginLoader, DefaultPluginLoader, DevelopmentPluginLoader, JarPluginLoader

public interface PluginLoader
Load all information (classes) needed by a plugin.
  • Method Details

    • isApplicable

      boolean isApplicable(Path pluginPath)
      Returns true if this loader is applicable to the given Path.
      Parameters:
      pluginPath -
      Returns:
    • loadPlugin

      ClassLoader loadPlugin(Path pluginPath, PluginDescriptor pluginDescriptor)