Package org.pf4j
package org.pf4j
-
ClassDescriptionThis class implements the boilerplate plugin code that any
PluginManagerimplementation would have to support.Load all information needed by a plugin.The default implementation forExtensionFactory.The default implementation forExtensionFinder.The default values areDefaultPluginClasspath.CLASSES_DIRand#LIB_DIR.The default implementation forPluginFactory.Load all information needed by a plugin fromDefaultPluginClasspath.Default implementation of thePluginManagerinterface.The default implementation forPluginStatusProvider.Default implementation forVersionManager.This class builds a dependency graph for a list of plugins (descriptors).It will be thrown if a cyclic dependency is detected.Indicates that the dependencies required were not found.Indicates that some dependencies have wrong version.It's a compoundPluginClasspath(DevelopmentPluginClasspath.MAVEN+DevelopmentPluginClasspath.GRADLE+DevelopmentPluginClasspath.KOTLIN) used in development mode (RuntimeMode.DEVELOPMENT).Load all information needed by a plugin fromDevelopmentPluginClasspath.Creates an extension instance.An extension point is a formal declaration in a plugin (or in application API) where customization is allowed.A wrapper over extension instance.It's aPluginManagerthat loads each plugin from ajarfile.All extensions declared in a plugin are indexed in a fileMETA-INF/extensions.idx.It's an implementation ofPluginStateListenerthat writes all events to logger (DEBUG level).Read the plugin descriptor from the manifest file.This class will be extended by all plugins and serve as the common class between a plugin and the application.One instance of this class should be created by plugin manager for every available plug-in.The classpath of the plugin.A plugin descriptor contains information about a plug-in.Find a plugin descriptor for a plugin path.Creates a plugin instance.Load all information (classes) needed by a plugin.Provides the functionality for plugin management such as load, start and stop the plugins.Directory that contains plugins.An exception used to indicate that a plugin problem occurred.PluginStateListener defines the interface for an object that listens to plugin state changes.A wrapper over plugin instance.Find a plugin descriptor in a properties file (in plugin repository).TheServiceLoaderbase implementation forExtensionFinder.AnExtensionFactorythat always returns a specific instance.Manager responsible for versions of plugins.It's aPluginManagerthat loads each plugin from azipfile.