Decebal Suiu
36f77cc63d
Fix some warnings (javadoc, pom, sonar)
pirms 1 gada
Decebal Suiu
dacbda1a23
Fix #492
pirms 1 gada
ahaha-vip
4e3d2fa142
Add a unit test in AbstractExtensionFinderTest to reproduce #428 (#430)
pirms 3 gadiem
Decebal Suiu
ec03fd022f
Fix #363
pirms 4 gadiem
Decebal Suiu
42bb7976de
Add test for findExtensionAnnotation (preparation for #363)
pirms 4 gadiem
GunoH
f1dcdf8920
Check proper list for debug logging (#366)
pirms 4 gadiem
Decebal Suiu
84461f0f6e
Found extensions when using decorated annotations (#348)
pirms 4 gadiem
Decebal Suiu
25eb313c5c
Fix #297
pirms 5 gadiem
Decebal Suiu
17102040c7
Fix #297
pirms 5 gadiem
Andreas Rudolph
153c7b3326
Optional plugin dependencies (#270)
pirms 5 gadiem
Decebal Suiu
f80bc959c1
Formatting
pirms 6 gadiem
Bala Raman
7eeea8e7f0
License header update, #171 (#205)
pirms 6 gadiem
Sergey Tyurin
5529c4dd08
Improve public API of Extention* classes (#175)
pirms 6 gadiem
Decebal Suiu
5916ee64d9
Change root package from ro.fortsoft.pf4j to org.pf4j (#168)
pirms 6 gadiem
艾少波
a2d25030f1
reset file format
pirms 7 gadiem
Decebal Suiu
e8d5b8eebf
Reactivate protection against the issues similar with #97
pirms 7 gadiem
Decebal Suiu
d98f23c208
Fix #116
pirms 7 gadiem
Decebal Suiu
0e218315ad
Rename logExtensions() to debugExtensions()
pirms 7 gadiem
Decebal Suiu
f595eb5dfa
Return a list of all extensions from a plugin and optional for an extension point
pirms 7 gadiem
Decebal Suiu
89e2131d5f
Minor modification
pirms 8 gadiem
Decebal Suiu
a163a7457c
Remove class loaders checking
pirms 8 gadiem
Decebal Suiu
b40e1638ad
Add useful log messages
pirms 8 gadiem
decebal
f67d85feed
Improve debugging for no extensions found
pirms 8 gadiem
decebal
c79986c72e
Minor improvement
pirms 8 gadiem
decebal
33a49849b7
Change class loaders order on trace debug
pirms 8 gadiem
decebal
f79c200c21
Resolve #97 and keep #98 safe
pirms 8 gadiem
Decebal Suiu
02e3f8988d
Fix #98
pirms 8 gadiem
Decebal Suiu
a866af8224
Try to create a defense for the issues similar with #97
pirms 8 gadiem
Decebal Suiu
6533d2258c
Remove isExtensionPoint check in AbstractExtensionFinder so a Service from a ServiceProvider is seen as an extension point
pirms 8 gadiem
Decebal Suiu
07392518f8
Fix a bug related to extension HowdyGreeting is not visible on getExtensions()
pirms 8 gadiem
Decebal Suiu
6a666aa419
use META-INF/services storage by default
pirms 8 gadiem
Decebal Suiu
0dd5e53dff
Add getExtensionFactory in PluginManager interface
pirms 8 gadiem
Decebal Suiu
24dd110c9e
Format the license header
pirms 8 gadiem
Decebal Suiu
290c1470ed
make DefaultExtensionFinder testable
pirms 8 gadiem
Decebal Suiu
aee82c92b0
convert existing generics to diamond syntax
pirms 9 gadiem
Decebal Suiu
579bae7c3d
defense for #21
pirms 9 gadiem
Decebal Suiu
357bdf703f
try to improve logging for DefaultExtensionFinder
pirms 9 gadiem
Decebal Suiu
808a36a3ae
try to resolve issue #20
pirms 10 gadiem
Decebal Suiu
e58e71a098
load extensions from classpath; before this commit only plugins can declare extensions
pirms 10 gadiem
James Moger
361a974759
Change log level of a debug message from warn to debug
pirms 10 gadiem
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.
pirms 10 gadiem
Decebal Suiu
7e00f212b1
add listeners to plugin state changes
pirms 10 gadiem
Decebal Suiu
0cf3fc42ff
added support for PluginManager.getExtensionClassNames(String pluginId) and simplify enable/disable plugin
pirms 10 gadiem
James Moger
de6b7df7a6
Implement loading a single plugin archive
pirms 10 gadiem
Decebal Suiu
d89e4bcead
check that a java type is an ExtensionPoint
pirms 10 gadiem
Decebal Suiu
abf4672d97
add possibility to override extension creation in DefaultExtensionFinder
pirms 10 gadiem
Decebal Suiu
78d959eb50
remove sezpoz dependency
pirms 10 gadiem
Decebal Suiu
5b30e5fed1
add PluginClasspath - now you can add any classes and lib directories to plugin classpath
pirms 10 gadiem
Decebal Suiu
3bd47b504a
add args to logging code
pirms 10 gadiem
Decebal Suiu
3f6825d077
minor changes
pirms 11 gadiem