Decebal Suiu
e58e71a098
load extensions from classpath; before this commit only plugins can declare extensions
11 years ago
Decebal Suiu
11ee51b3c5
Update README.md
11 years ago
Decebal Suiu
57fabda2e6
Update README.md
11 years ago
Decebal Suiu
ca2e19c3ed
Update README.md
11 years ago
Decebal Suiu
766681abb4
Update README.md
11 years ago
Decebal Suiu
f508484004
fix an issue that occurs when the plugin developer put the pf4j jar in the plugin's lib folder (or not declare the pf4j dependency with scope provided in pom.xml)
11 years ago
Decebal Suiu
441062e98c
minor change
11 years ago
Decebal Suiu
69835a1406
add info message about pf4j version and the runtime mode
11 years ago
Decebal Suiu
90aefdd121
add version in DefaultPluginManager
11 years ago
Decebal Suiu
77c4e00469
add dispose method in PluginClassLoader
11 years ago
Decebal Suiu
bb4c68def5
Update README.md
11 years ago
Decebal Suiu
df5a0fabf2
Merge branch 'master' of https://github.com/decebals/pf4j
11 years ago
Decebal Suiu
0cbac88f6b
update readme
11 years ago
Decebal Suiu
57436d67b4
[maven-release-plugin] prepare for next development iteration
11 years ago
Decebal Suiu
a20a13700f
[maven-release-plugin] prepare release release-0.8.0
11 years ago
Decebal Suiu
7df691ccec
update slf4j to 1.7.5
11 years ago
Decebal Suiu
eb24fa2b32
rename PluginVersion to Version
11 years ago
Decebal Suiu
a6dacb2f74
Merge pull request #15 from gitblit/requires
...
Add an optional requires manifest value
11 years ago
James Moger
316109a558
Move requires logic to isPluginValid(PluginWrapper), rename default version to ZERO
11 years ago
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().
11 years ago
Decebal Suiu
b5589a7d0b
Merge pull request #13 from gitblit/description
...
Add an optional description to the manifest
11 years ago
Decebal Suiu
f9be0a48ce
Merge pull request #12 from gitblit/fix_loglevel
...
Change log level of a debug message from warn to debug
11 years ago
James Moger
2bc87639f9
Add an optional description to the manifest
11 years ago
James Moger
361a974759
Change log level of a debug message from warn to debug
11 years ago
Decebal Suiu
ae2c0cd69f
[maven-release-plugin] prepare for next development iteration
11 years ago
Decebal Suiu
bd953f99a3
[maven-release-plugin] prepare release release-0.7.1
11 years ago
Decebal Suiu
1d1f3c3c34
Merge pull request #11 from gitblit/delete_disabled
...
Allow disabled plugins to be unloaded and deleted
11 years ago
James Moger
e996639f47
Allow disabled plugins to be unloaded and deleted
11 years ago
Decebal Suiu
0e6b1df75f
using java 1.7 for compilation (for ClassLoader.close() called in DefaultPluginManager)
11 years ago
Decebal Suiu
726c5cab70
[maven-release-plugin] prepare for next development iteration
11 years ago
Decebal Suiu
2533d78213
[maven-release-plugin] prepare release release-0.7.0
11 years ago
Decebal Suiu
66caaa34f4
Merge pull request #10 from gitblit/resource_loading
...
Allow inspection of disabled plugins by not stopping resource loading
11 years ago
James Moger
e80ae32868
Allow inspection of disabled plugins by not stopping resource loading
...
The differences between a DISABLED plugin and a STARTED plugin are:
1. a STARTED plugin has executed Plugin.start(), a DISABLED plugin has not
2. a STARTED plugin may contribute extension instances, a DISABLED plugin may not
DISABLED plugins still have valid classloaders and their classes can be manually
loaded and explored, but the resource loading - which is important for inspection
has been handicapped by the DISABLED check.
Instead of preventing loading the extension indexes for DISABLED plugins, the
extension finder should only return ExtensionWrappers for STARTED plugins.
11 years ago
Decebal Suiu
7e00f212b1
add listeners to plugin state changes
11 years ago
Decebal Suiu
5287be5438
Merge pull request #9 from decebals/enable-disable-plugin
...
Enable disable plugin
11 years ago
Decebal Suiu
33baceffd7
use PluginState.DISABLE instead of PluginManger.isPluginDisabled()
11 years ago
Decebal Suiu
0cf3fc42ff
added support for PluginManager.getExtensionClassNames(String pluginId) and simplify enable/disable plugin
11 years ago
Decebal Suiu
c92982264d
the content of disabled.txt was deleted accidentally when I run demo (that contains a sequence of code that enable programmaticaly a plugin)
11 years ago
Decebal Suiu
e5774205c3
forgot to commit these files
11 years ago
Decebal Suiu
746ac803b8
a first version related to enable-disable plugin
11 years ago
Decebal Suiu
1da96c7dde
Merge pull request #6 from gitblit/load_plugin
...
Implement loading a single plugin archive
11 years ago
James Moger
de6b7df7a6
Implement loading a single plugin archive
11 years ago
Decebal Suiu
8a19725905
Merge pull request #4 from gitblit/delete_plugin
...
Implement delete plugin
11 years ago
James Moger
c2fe1da412
Simplify changes per review
11 years ago
James Moger
c867d45898
Implement delete plugin
11 years ago
Decebal Suiu
eef2ee1cba
Merge pull request #3 from gitblit/stop_plugin
...
Add support for starting, stopping, and unloading a plugin
11 years ago
James Moger
4fefdcf76c
Add method to unload a plugin and it's dependencies
11 years ago
James Moger
02455e68f6
Add methods to start & stop a single plugin and it's dependencies
11 years ago
Decebal Suiu
5c223d79b2
adopt semantic versioning for plugin
11 years ago
Decebal Suiu
e4efe65d36
adopt semantic versioning
11 years ago