CDI includes a CDI container service that manages scope automatically depending on the application scope declaration; CDI beans are created and destroyed on demand by the container.
CDI包含一个cdi容器服务,该服务根据应用程序作用域声明自动管理作用域;容器根据需要创建和销毁CDI bean。
Any intended use of the outer scope declaration will result in the use of local declaration.
如果打算使用外部范围的声明,将导致使用局部声明。
应用推荐