component scanning 组件扫描
Instead of doing the resource scanning for every component, we just do it once, properly delegating the work to various container components.
现在无需对每个组件进行资源扫描,我们只需做一次即可,可以将工作委托给各种容器组件实现。
It is not necessary to completely supplant configuration in XML, rather the component scanning can operate alongside XML metadata to simplify the overall configuration.
全面替代XML中的配置不再必要,组件扫描反而可以处理XM L元数据来简化整体配置。
Clearly it is possible to extend the component scanning in a number of ways to register your own custom types.
很明显,有很多方法可以扩展组件扫描来注册自定义的类型。
应用推荐