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
Decebal Suiu
aa5967e024
make PluginException visible from outside (public)
11 years ago
Decebal Suiu
d89e4bcead
check that a java type is an ExtensionPoint
11 years ago
Decebal Suiu
0cb9b3b986
Merge branch 'master' of https://github.com/decebals/pf4j
11 years ago
Decebal Suiu
3fd43bfe08
fix a minor message format in logging
11 years ago
Decebal Suiu
4e7f1e58a8
update logging configuration
11 years ago
Decebal Suiu
87267155ed
add reference to Annotation Processing
11 years ago
Decebal Suiu
4662ecf8f8
Merge branch 'master' of https://github.com/decebals/pf4j
11 years ago
Decebal Suiu
b57f307e53
[maven-release-plugin] prepare for next development iteration
11 years ago
Decebal Suiu
faba983abc
[maven-release-plugin] prepare release release-0.6
11 years ago
Decebal Suiu
7cbdd748b9
Update README.md
11 years ago
Decebal Suiu
38864942d4
Update README.md
11 years ago
Decebal Suiu
abf4672d97
add possibility to override extension creation in DefaultExtensionFinder
11 years ago
Decebal Suiu
78d959eb50
remove sezpoz dependency
11 years ago
Decebal Suiu
198949b8b0
Update README.md
11 years ago
Decebal Suiu
c6a1bbda46
Merge branch 'master' of https://github.com/decebals/pf4j
11 years ago
Decebal Suiu
cd327605d0
Update README.md
11 years ago
Decebal Suiu
94085d3919
Update README.md
11 years ago