您甚至可以混合和匹配来自不同作用域的bean,通过该容器提供正确的生命周期管理。
You can even mix and match scopes and inject beans from different scopes, with the container providing the correct lifecycle management.
和XMl扩展一起,最重要的新的Ioc容器特性就是对于bean生命周期管理的新增的自定义作用域。
Along with XML extensions, the most important new IoC container feature is the addition of custom scopes for bean lifecycle management.
应用推荐