|
|
@ -2396,7 +2396,7 @@ the __scope__ of the objects created from a particular bean definition. This app |
|
|
|
powerful and flexible in that you can __choose__ the scope of the objects you create |
|
|
|
powerful and flexible in that you can __choose__ the scope of the objects you create |
|
|
|
through configuration instead of having to bake in the scope of an object at the Java |
|
|
|
through configuration instead of having to bake in the scope of an object at the Java |
|
|
|
class level. Beans can be defined to be deployed in one of a number of scopes: out of |
|
|
|
class level. Beans can be defined to be deployed in one of a number of scopes: out of |
|
|
|
the box, the Spring Framework supports six scopes, five of which are available only if |
|
|
|
the box, the Spring Framework supports six scopes, four of which are available only if |
|
|
|
you use a web-aware `ApplicationContext`. |
|
|
|
you use a web-aware `ApplicationContext`. |
|
|
|
|
|
|
|
|
|
|
|
The following scopes are supported out of the box. You can also create |
|
|
|
The following scopes are supported out of the box. You can also create |
|
|
|