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