|
From: <jue...@we...> - 2004-04-18 20:42:50
|
I've just relaxed WebApplicationObjectSupport's context type check: It = doesn't check for WebApplicationContext on initialization now but rather = lazily on invocation of getWebApplicationContext respectively = getServletContext/getTempDir. This facilitates easier unit testing. =20 This change was inspired by Matt's recent efforts that he documented on = the Spring Live blog. It's indeed easier to use a = ClassPathXmlApplicationContext than to use a XmlWebApplicationContext: = The former allows to specify direct classpath URLs as config location, = and doesn't require a mock ServletContext. =20 I'll commit this by tomorrow, to be included in Spring 1.0.1 (scheduled = for Tuesday night). =20 Juergen |