@@ -2561,7 +2561,7 @@ The Spring container creates a new instance of the `AppPreferences` bean by usin
|
|||||||
`appPreferences` bean is scoped at the `ServletContext` level, stored as a regular
|
`appPreferences` bean is scoped at the `ServletContext` level, stored as a regular
|
||||||
`ServletContext` attribute. This is somewhat similar to a Spring singleton bean but
|
`ServletContext` attribute. This is somewhat similar to a Spring singleton bean but
|
||||||
differs in two important ways: It is a singleton per `ServletContext`, not per Spring
|
differs in two important ways: It is a singleton per `ServletContext`, not per Spring
|
||||||
'ApplicationContext' (or which there may be several in any given web application),
|
'ApplicationContext' (for which there may be several in any given web application),
|
||||||
and it is actually exposed and therefore visible as a `ServletContext` attribute.
|
and it is actually exposed and therefore visible as a `ServletContext` attribute.
|
||||||
|
|
||||||
|
|
||||||
@@ -8525,4 +8525,3 @@ utility class
|
|||||||
locator that is described in this
|
locator that is described in this
|
||||||
https://spring.io/blog/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/[Spring
|
https://spring.io/blog/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/[Spring
|
||||||
team blog entry].
|
team blog entry].
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user