Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于ISSUE#1106产生的背景说明 #1126

Closed
yanrongzhen opened this issue Mar 16, 2023 · 3 comments
Closed

关于ISSUE#1106产生的背景说明 #1126

yanrongzhen opened this issue Mar 16, 2023 · 3 comments

Comments

@yanrongzhen
Copy link
Member

yanrongzhen commented Mar 16, 2023

背景

在SpringBoot 1.5.x版本当中, 关于Web容器的获取和操作的api, 与SpringBoot 2.x版本(目前Hippo4j使用的主要版本)完全不兼容.
因此需要针对SpringBoot1.5.x版本做一个特定版本的实现, 以便可以操作web容器当中的线程池.

目标

通过类设计方法, 抽象和复用公共部分, 将具体针对特定版本的实现, 沉淀到下层各自版本模块当中.

方法

由于1.x已经开启一个定制化模块来进行适配(hippo4j-config-spring-boot-1x-starter), 将web容器的版本适配工作放在此模块当中.

其中, 类设计简化图示如下:
image

@magestacks
Copy link
Member

👍

@magestacks
Copy link
Member

可以将该 Issue 内容合并到 #1106

@yanrongzhen
Copy link
Member Author

@magestacks 合并完毕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants