Open jeven2016 opened 3 years ago
@jeven2016 你好,我也正苦恼这个问题,插件卸载之后,其注入的bean依然可用,除了自主管理bean,还有什么其他更好的办法吗?多个pf4j的衍生版本都存在这个问题。
@JEVEN2016 Hello, I am also worried about this problem. After the plugin is uninstalled, the bean that is injected is still available. In addition to independent management bean, what other better ways? This problem exists in a derived version of multiple PF4J.
unfortunately, there're still be 3 extensions printed after the plugin-1 is unloaded.....
I am afraid that here it's necessary a context reload or something similar.
or any samples illustrate how to integrate with pf4j-update?
you can take a look on the readme page of project (https://github.com/pf4j/pf4j-update) or in UpdateIntegrationTest.
@HuangDayu 只有重启才行,我尝试了其他的插件系统,目前还没有这类的多版本运行时升级不重启生效的。
@HuangDayu 只有重启才行,我尝试了其他的插件系统,目前还没有这类的多版本运行时升级不重启生效的。
try SOFA Ark or SOFA Jarlinks to switch multi-version plugin.
Hi,
Could you take a look at this questions?
Question: How to update the ‘List’ bean while some plugins are unloaded/deleted?
At the begining, there're 3 extensions found
And I'd like to unload plugin-1 and try to replace it with a new plugin latter