Package org.pf4j
Interface PluginLoader
-
- All Known Implementing Classes:
BasePluginLoader,CompoundPluginLoader,DefaultPluginLoader,DevelopmentPluginLoader,JarPluginLoader
public interface PluginLoaderLoad all information (classes) needed by a plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisApplicable(java.nio.file.Path pluginPath)Returns true if this loader is applicable to the givenPath.java.lang.ClassLoaderloadPlugin(java.nio.file.Path pluginPath, PluginDescriptor pluginDescriptor)
-
-
-
Method Detail
-
isApplicable
boolean isApplicable(java.nio.file.Path pluginPath)
Returns true if this loader is applicable to the givenPath.- Parameters:
pluginPath-- Returns:
-
loadPlugin
java.lang.ClassLoader loadPlugin(java.nio.file.Path pluginPath, PluginDescriptor pluginDescriptor)
-
-