mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area core /area plugin /milestone 2.12.x #### What this PR does / why we need it: This PR mainly simplifies halo plugin manager. Before this, - we have too many repeat code from super class, which is uncessary - we maintain plugin application context in ExtensionComponentsFinder, which is uncessary and is hard to manage - we fire halo plugin event in halo plugin manager, which is complicated and leads to too many repeat code This PR does: - refactor halo plugin manager - wrap base plugin with spring plugin which contains application context - remove ExtensionComponentsFinder - bridge halo plugin event and spring plugin event - wait extensions fully deleted when stopping Meanwhile, this PR will supersede PR <https://github.com/halo-dev/halo/pull/5236>. #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/5226 #### Special notes for your reviewer: Test installing, enabing, disabling, upgrading, reloading and deleting plugins. #### Does this PR introduce a user-facing change? ```release-note None ``` |
||
---|---|---|
.. | ||
src | ||
build.gradle |