Decebal Suiu
5916ee64d9
Change root package from ro.fortsoft.pf4j to org.pf4j (#168)
6 vuotta sitten
Decebal Suiu
c35a4f63b4
Cosmetics
6 vuotta sitten
Decebal Suiu
c9bdd98e6d
Add VersionManager abstractization (breaking change) (#155)
7 vuotta sitten
Jan Høydahl
39ef17a075
Unzip plugin zip file in loadPluginFromPath() (#140)
7 vuotta sitten
Decebal Suiu
d7f245e511
Add JarPluginManager, PluginLoader, AbstractPluginManager
7 vuotta sitten
Decebal Suiu
f595eb5dfa
Return a list of all extensions from a plugin and optional for an extension point
7 vuotta sitten
Decebal Suiu
fbf096655c
Fix #99
8 vuotta sitten
Decebal Suiu
0dd5e53dff
Add getExtensionFactory in PluginManager interface
8 vuotta sitten
Decebal Suiu
400e0f74bd
Pull method DefaultPluginManager.whichPlugin() to PluginManager
8 vuotta sitten
Decebal Suiu
ce19eb6ce7
fix #84
8 vuotta sitten
Decebal Suiu
35ff0f5936
In development mode hide plugins/target (is not a plugin)
8 vuotta sitten
Decebal Suiu
24dd110c9e
Format the license header
8 vuotta sitten
Decebal Suiu
c7d6a98d99
make PluginManager available in Plugin via PluginWrapper
8 vuotta sitten
Decebal Suiu
eefe2341bd
make more fields protected in DefaultPluginManager
8 vuotta sitten
Decebal Suiu
062a2c068d
added possibility to overwrite DefaultPluginManager (see #66)
8 vuotta sitten
Decebal Suiu
7dc4007c27
fix #63
8 vuotta sitten
Decebal Suiu
1b00a01b61
fix wildcard import
9 vuotta sitten
Mário Franco
dff2c20814
Stop leafs first
9 vuotta sitten
Mário Franco
e4cf827a4c
Fix #42 and it's a help for #32
9 vuotta sitten
Decebal Suiu
7aa50bf83d
make pluginsDirectory canonical
9 vuotta sitten
Mário Franco
f3fe919089
Replace Version with semver lib
9 vuotta sitten
Decebal Suiu
aee82c92b0
convert existing generics to diamond syntax
9 vuotta sitten
Decebal Suiu
56a7ee47ac
review #41
9 vuotta sitten
Mário Franco
966e5d506b
Clean PluginStatusProvider api
9 vuotta sitten
Mário Franco
3720dddcd5
Add Plugin status provider
9 vuotta sitten
Decebal Suiu
808a36a3ae
try to resolve issue #20
10 vuotta sitten
Decebal Suiu
69835a1406
add info message about pf4j version and the runtime mode
10 vuotta sitten
Decebal Suiu
90aefdd121
add version in DefaultPluginManager
10 vuotta sitten
Decebal Suiu
77c4e00469
add dispose method in PluginClassLoader
10 vuotta sitten
Decebal Suiu
7df691ccec
update slf4j to 1.7.5
10 vuotta sitten
Decebal Suiu
eb24fa2b32
rename PluginVersion to Version
10 vuotta sitten
James Moger
316109a558
Move requires logic to isPluginValid(PluginWrapper), rename default version to ZERO
10 vuotta sitten
James Moger
eba6d3dc6b
Add an optional requires manifest value
As integrators of pf4j evovle their extension APIs it will become
a requirement to specify a minimum system version for loading plugins.
Loading & starting a newer plugin on an older system could result in
runtime failures due to method signature changes or other class
differences.
This change adds a manifest attribute to specify a 'requires' version
which is a minmum system version. It also introduces a method to
specify the system version of the plugin manager and logic to disable
plugins on load if the system version is too old. This works for both
loadPlugins() and loadPlugin().
10 vuotta sitten
James Moger
e996639f47
Allow disabled plugins to be unloaded and deleted
10 vuotta sitten
Decebal Suiu
7e00f212b1
add listeners to plugin state changes
10 vuotta sitten
Decebal Suiu
33baceffd7
use PluginState.DISABLE instead of PluginManger.isPluginDisabled()
10 vuotta sitten
Decebal Suiu
0cf3fc42ff
added support for PluginManager.getExtensionClassNames(String pluginId) and simplify enable/disable plugin
10 vuotta sitten
Decebal Suiu
746ac803b8
a first version related to enable-disable plugin
10 vuotta sitten
James Moger
de6b7df7a6
Implement loading a single plugin archive
10 vuotta sitten
James Moger
c2fe1da412
Simplify changes per review
10 vuotta sitten
James Moger
c867d45898
Implement delete plugin
10 vuotta sitten
James Moger
4fefdcf76c
Add method to unload a plugin and it's dependencies
10 vuotta sitten
James Moger
02455e68f6
Add methods to start & stop a single plugin and it's dependencies
10 vuotta sitten
Decebal Suiu
3fd43bfe08
fix a minor message format in logging
10 vuotta sitten
Decebal Suiu
78d959eb50
remove sezpoz dependency
10 vuotta sitten
Decebal Suiu
6df8db4c34
add RuntimeMode with DEVELOPMENT and DEPLOYMENT values and working on DEVELOPMENT mode
10 vuotta sitten
Decebal Suiu
5c15a04845
add debug message for lookup plugins directory
10 vuotta sitten
Decebal Suiu
5b30e5fed1
add PluginClasspath - now you can add any classes and lib directories to plugin classpath
10 vuotta sitten
Decebal Suiu
c6cec30c88
add support hidden filter for plugins directory (.svn, .cvs, ...)
10 vuotta sitten
Decebal Suiu
3bd47b504a
add args to logging code
10 vuotta sitten