Class ZipPluginManager
java.lang.Object
org.pf4j.AbstractPluginManager
org.pf4j.DefaultPluginManager
org.pf4j.ZipPluginManager
- All Implemented Interfaces:
PluginManager
It's a
PluginManager that loads each plugin from a zip file.
The structure of the zip file is:
libdirectory that contains all dependencies (as jar files); it's optional (no dependencies)classesdirectory that contains all plugin's classes
-
Field Summary
Fields inherited from class DefaultPluginManager
PLUGINS_DIR_CONFIG_PROPERTY_NAMEFields inherited from class AbstractPluginManager
DEFAULT_PLUGINS_DIR, dependencyResolver, DEVELOPMENT_PLUGINS_DIR, exactVersionAllowed, extensionFactory, extensionFinder, MODE_PROPERTY_NAME, pluginClassLoaders, pluginDescriptorFinder, pluginFactory, pluginLoader, pluginRepository, plugins, PLUGINS_DIR_PROPERTY_NAME, pluginsRoot, pluginStateListeners, pluginStatusProvider, resolvedPlugins, runtimeMode, startedPlugins, systemVersion, unresolvedPlugins, versionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PluginDescriptorFinderprotected PluginLoaderprotected PluginRepositoryMethods inherited from class DefaultPluginManager
createExtensionFactory, createExtensionFinder, createPluginFactory, createPluginStatusProvider, createVersionManager, initialize, loadPluginFromPathMethods inherited from class AbstractPluginManager
addPluginStateListener, createPluginsRoot, deletePlugin, disablePlugin, enablePlugin, firePluginStateEvent, getExtensionClasses, getExtensionClasses, getExtensionClasses, getExtensionClassNames, getExtensionFactory, getExtensions, getExtensions, getExtensions, getPlugin, getPluginClassLoader, getPluginClassLoaders, getPluginDescriptorFinder, getPluginFactory, getPluginLabel, getPluginLoader, getPlugins, getPlugins, getPluginsRoot, getResolvedPlugins, getRuntimeMode, getStartedPlugins, getSystemVersion, getUnresolvedPlugins, getVersion, getVersionManager, idForPath, isExactVersionAllowed, isPluginDisabled, isPluginValid, loadPlugin, loadPlugins, removePluginStateListener, resolvePlugins, setExactVersionAllowed, setSystemVersion, startPlugin, startPlugins, stopPlugin, stopPlugins, unloadPlugin, validatePluginDescriptor, whichPluginMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PluginManager
isDevelopment, isNotDevelopment
-
Constructor Details
-
ZipPluginManager
public ZipPluginManager()
-
-
Method Details
-
createPluginDescriptorFinder
- Overrides:
createPluginDescriptorFinderin classDefaultPluginManager
-
createPluginLoader
- Overrides:
createPluginLoaderin classDefaultPluginManager
-
createPluginRepository
- Overrides:
createPluginRepositoryin classDefaultPluginManager
-