Package org.pf4j
Class DefaultPluginLoader
- java.lang.Object
-
- org.pf4j.BasePluginLoader
-
- org.pf4j.DefaultPluginLoader
-
- All Implemented Interfaces:
PluginLoader
public class DefaultPluginLoader extends BasePluginLoader
Load all information needed by a plugin fromDefaultPluginClasspath.
-
-
Field Summary
-
Fields inherited from class org.pf4j.BasePluginLoader
pluginClasspath, pluginManager
-
-
Constructor Summary
Constructors Constructor Description DefaultPluginLoader(PluginManager pluginManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisApplicable(java.nio.file.Path pluginPath)Returns true if this loader is applicable to the givenPath.-
Methods inherited from class org.pf4j.BasePluginLoader
createPluginClassLoader, loadClasses, loadJars, loadPlugin
-
-
-
-
Constructor Detail
-
DefaultPluginLoader
public DefaultPluginLoader(PluginManager pluginManager)
-
-
Method Detail
-
isApplicable
public boolean isApplicable(java.nio.file.Path pluginPath)
Description copied from interface:PluginLoaderReturns true if this loader is applicable to the givenPath.- Specified by:
isApplicablein interfacePluginLoader- Overrides:
isApplicablein classBasePluginLoader- Returns:
-
-