Skip to content

feat: introduce BeanWrapper SPI and decouple CGLIB from fesod-sheet - #1018

Draft
bengbengbalabalabeng wants to merge 11 commits into
apache:mainfrom
bengbengbalabalabeng:feat-add-beans-module-supports
Draft

feat: introduce BeanWrapper SPI and decouple CGLIB from fesod-sheet#1018
bengbengbalabalabeng wants to merge 11 commits into
apache:mainfrom
bengbengbalabalabeng:feat-add-beans-module-supports

Conversation

@bengbengbalabalabeng

Copy link
Copy Markdown
Contributor

Purpose of the pull request

Related: #951

DRAFT FOR NOW

What's changed?

1. fesod-common

  • Added core SPI contracts: BeanWrapper and BeanWrapperProvider.
  • Added the factory utility BeanWrappers for SPI auto-discovery (ServiceLoader) and priority-based sorting (getOrder()).

2. fesod-beans (Parent POM)

  • Added fesod-beans/fesod-beans-cglib submodule.

3. fesod-sheet

  • Replaced direct dependency on fesod-shaded with fesod-beans-cglib.
  • Replaced internal BeanMapUtils.create() usages with BeanWrappers.create().
  • Deprecated / cleaned up legacy BeanMapUtils to prevent downstream compile/runtime errors caused by hard CGLIB dependencies when switching fesod-beans-* implementations.

Checklist

  • I have read the Contributor Guide.
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not now Good idea, but not currently part of plans

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant