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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isApplicable(java.nio.file.Path pluginPath)
Returns true if this loader is applicable to the givenPath
.java.lang.ClassLoader
loadPlugin(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)
-
-