We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
具体场景:
比如,在ComponentScanner
ComponentScanner
在后面 增加了 Servletinformation 之后,其实是添加了一个元数据
Servletinformation
那么后面比如我要 容器初始化的时候,先去将 loadOnStartup 是 1 的 servlet 先实例化
loadOnStartup
1
servlet
那么这个时候,我希望这个 ComponentScanner 提供一个功能是 把 loadOnStartup 的所有给返回过来
那么就要涉及到 接口增加功能了, 那么这个 功能适不适合 增加在 ComponentScanner里面呢?
SOLID原则,
那么如果不放在这里,那么需要接口类的继承等实现方式,那么又该怎么做呢?
The text was updated successfully, but these errors were encountered:
cybertheye
No branches or pull requests
具体场景:
比如,在
ComponentScanner
在后面 增加了
Servletinformation
之后,其实是添加了一个元数据那么后面比如我要 容器初始化的时候,先去将
loadOnStartup
是1
的servlet
先实例化那么这个时候,我希望这个
ComponentScanner
提供一个功能是 把 loadOnStartup 的所有给返回过来那么就要涉及到 接口增加功能了, 那么这个 功能适不适合 增加在
ComponentScanner
里面呢?SOLID原则,
那么如果不放在这里,那么需要接口类的继承等实现方式,那么又该怎么做呢?
The text was updated successfully, but these errors were encountered: