Made WebApplicationContextUtils:registerWebApplicationScopes public. Changed core's org.springframework.asm OSGi import to proper version numbers

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@826 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Ben Hale
2009-03-26 09:53:14 +00:00
parent 2d2924e8ce
commit e3a4b4faae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Import-Template:
edu.emory.mathcs.backport.*;version="[3.0.0, 4.0.0)";resolution:=optional,
org.apache.commons.collections.*;version="[3.2.0, 4.0.0)";resolution:=optional,
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
org.springframework.asm.*;version="[2.5.6, 3.0.0]";resolution:=optional,
org.springframework.asm.*;version="[3.0.0, 3.0.1)";resolution:=optional,
org.apache.log4j.*;version="[1.2.15, 2.0.0)";resolution:=optional,
org.aspectj.*;version="[1.5.4, 2.0.0)";resolution:=optional
Unversioned-Imports:
@@ -119,7 +119,7 @@ public abstract class WebApplicationContextUtils {
* as used by the WebApplicationContext.
* @param beanFactory the BeanFactory to configure
*/
static void registerWebApplicationScopes(ConfigurableListableBeanFactory beanFactory) {
public static void registerWebApplicationScopes(ConfigurableListableBeanFactory beanFactory) {
beanFactory.registerScope(WebApplicationContext.SCOPE_REQUEST, new RequestScope());
beanFactory.registerScope(WebApplicationContext.SCOPE_SESSION, new SessionScope(false));
beanFactory.registerScope(WebApplicationContext.SCOPE_GLOBAL_SESSION, new SessionScope(true));