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