Commit Graph

3666 Commits

Author SHA1 Message Date
Juergen Hoeller e069c8fed6 updated version statement in javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3665 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 22:48:03 +00:00
Juergen Hoeller f85bad07d6 LocalSessionFactoryBean's "entityCacheStrategies" works with region names on Hibernate 3.6 as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3664 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 22:45:58 +00:00
Thomas Risberg cd7aece559 Polished the support for looking up column values by column label (SPR-7506)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3663 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 18:59:28 +00:00
Thomas Risberg 4be9b83c31 Added support for looking up column values by column label to support CachedRowSetImpl which doesn't allow for column label use (SPR-7506); added some generics;
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3662 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 18:46:21 +00:00
Juergen Hoeller 73480a5431 pass full TypeDescriptor context through to ConversionService calls (SPR-7519)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3661 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 17:26:02 +00:00
Chris Beams 6cb152cc09 Allow class-relative resource loading in GenericXmlApplicationContext (SPR-7530)
Before:

    - new GenericXmlApplicationContext("com/acme/path/to/resource.xml");

    - GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
      ctx.load("com/acme/path/to/resource.xml");
      ctx.refresh();

After:

    - The above remain supported, as well as new class-relative variants

    - import com.acme.path.to.Foo;
      new GenericXmlApplicationContext(Foo.class, "resource.xml");

    - import com.acme.path.to.Foo;
      GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
      ctx.load(Foo.class, "resource.xml");
      ctx.refresh();

These changes are generally aligned with signatures long available in
ClassPathXmlApplicationContext. As GenericXmlApplicationContext is
intended to be a more flexible successor to CPXAC (and FSXAC), it's
important that all the same conveniences are available.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3660 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 15:30:48 +00:00
Juergen Hoeller cc9cf5ce4f @MVC fixes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3659 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 14:48:52 +00:00
Juergen Hoeller 9e04940e1c fixed @MVC processing of parameter-level annotations to work with interface-based proxies again (SPR-7483)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3658 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 14:45:00 +00:00
Juergen Hoeller f835d5f604 revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3657 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 13:56:42 +00:00
Arjen Poutsma 4904769bd8 Added XMLEventStreamWriter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3656 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 12:52:23 +00:00
Juergen Hoeller 83e4e83e7b revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3655 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 12:39:57 +00:00
Arjen Poutsma 067108d063 Small Stax fixes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3654 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 09:45:18 +00:00
Arjen Poutsma a3cc0e54ce Small Stax fixes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3653 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 08:42:09 +00:00
Juergen Hoeller 1895f42b05 further fixes for 3.0.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3652 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 23:35:14 +00:00
Juergen Hoeller 4f829f3ae2 added MockMultipartFile to web-portlet module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3651 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 23:22:03 +00:00
Juergen Hoeller 9bb2251455 reverted shortening of action exception parameter value; fixed multipart test (SPR-7495)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3650 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 23:11:11 +00:00
Juergen Hoeller 669f846b8d fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3649 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:56:18 +00:00
Juergen Hoeller 6dbe912b13 copy event parameters to render parameters in case of an action exception as well (SPR-7495)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3648 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:56:05 +00:00
Juergen Hoeller f569ebfb52 DispatcherPortlet copies all action parameters to render parameters in case of an action exception (SPR-7495); shortened Portlet MVC's action exception render parameter value to "true"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3647 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:45:31 +00:00
Juergen Hoeller 2b9c71d317 removed unused HandlerExecutionChain caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3646 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:44:06 +00:00
Juergen Hoeller ea2bbbb3be allow for writing the response directly in a Portlet @ExceptionHandler method (like in the Servlet equivalent)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3645 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:43:26 +00:00
Juergen Hoeller 25a6ffa75f polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3644 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:20:03 +00:00
Juergen Hoeller ba1e4c2d10 extended synchronization for methodResolverCache (SPR-7525)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3643 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 20:41:50 +00:00
Juergen Hoeller 0a295603db added bean type to post-processing log statement (SPR-7524)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3642 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 20:06:48 +00:00
Juergen Hoeller 68597b9359 avoid failures in case of manually registered null instance (SPR-7523)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3641 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 19:47:16 +00:00
Arjen Poutsma aeeb0cea73 Granting Keith's wish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3635 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-03 08:50:45 +00:00
Sam Brannen fff80a91a4 Fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3634 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 23:38:51 +00:00
Juergen Hoeller aab7cff10a prepared for 3.0.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3633 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 22:24:21 +00:00
Juergen Hoeller 505107bc5d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3632 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 22:02:33 +00:00
Juergen Hoeller 4c8d2baa17 catch invalid arguments early; avoid stack overflow in object-to-collection case (SPR-7488)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3631 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 22:02:07 +00:00
Juergen Hoeller 118b0b0b80 SpEL supports projection on any kind of Collection (SPR-7493)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3630 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 21:55:39 +00:00
Juergen Hoeller c2a1d571d8 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3629 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 18:41:10 +00:00
Juergen Hoeller 58dab3f971 DefaultLobHandler's "wrapAsLob" mode works with PostgreSQL's getAsciiStream() requirement (SPR-7487)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3628 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 18:09:29 +00:00
Juergen Hoeller da758771fa consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3627 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 17:17:25 +00:00
Juergen Hoeller e26a0ab06d JaxWsPortClientInterceptor does not fall back to annotation-specified name as portName anymore (SPR-7505)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3626 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 14:02:32 +00:00
Juergen Hoeller 6567fa437b JDBC bundle uses local ClassLoader as bean ClassLoader for "sql-error-codes.xml" parsing (SPR-7497)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3625 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 13:46:57 +00:00
Juergen Hoeller be6a363e70 fixed EvalTag's EvaluationContext caching (SPR-7482)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3624 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 13:33:45 +00:00
Juergen Hoeller 2b6ff5d9dd fixed no-message-received commit case for non-cached Sessions (SPR-7478)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3623 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 11:21:40 +00:00
Juergen Hoeller b8fbe4650e avoid hanging in case of shutdown errors (SPR-7511)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3622 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 11:19:11 +00:00
Arjen Poutsma 5cf889307a Fixing build
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3621 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-31 15:48:42 +00:00
Arjen Poutsma 438bd89d2a Minor tweaks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3620 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-31 10:46:58 +00:00
Arjen Poutsma 1a62ecb846 Added createCustomStaxSource/Result, because JAXP 1.4 kills babies in their sleep.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3619 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-31 09:51:59 +00:00
Arjen Poutsma 030fdef887 Various StAX improvements.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3616 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-27 11:35:27 +00:00
Chris Beams 9b68accbce Fix memory leak in serializable bean factory management (SPR-7502)
GenericApplicationContext and AbstractRefreshableApplicationContext
implementations now call DefaultListableBeanFactory.setSerializationId()
only upon successful refresh() instead of on instantiation of the
context, as was previously the case with GAC.

DLBF.setSerializationId() adds the beanFactory to the *static*
DLBF.serializableFactories map, and while calling close() on the
application context removes entries from that map, it does so only if
the context is currently active (i.e. refresh() has been called).

Also, cancelRefresh() has been overridden in GAC just as it has been
in ARAC to accomodate the possibility of a BeansException being thrown.
In this case, the beanFactory serializationId will be nulled out and
the beanFactory removed from the serializableFactories map.

The SerializableBeanFactoryMemoryLeakTests test case provides full
coverage of these scenarios.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3615 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-27 10:53:20 +00:00
Arjen Poutsma 7778cd8aed SPR-7490 - Reverting RedirectView to it's 3.0.3 version
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3614 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-25 09:00:09 +00:00
Arjen Poutsma 000b904f7d SPR-7316 - writeAcceptCharset now also set to false when using mvc namespace.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3613 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-23 14:53:00 +00:00
Ben Hale 82e5f5f5d6 Publishing license and notice files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3612 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-23 13:17:31 +00:00
Arjen Poutsma 750dc01862 Prepping for 3.0.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3611 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 11:04:04 +00:00
Arjen Poutsma cdac541cac Prepping for 3.0.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3610 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 10:55:41 +00:00
Juergen Hoeller f68aa25579 temporarily disabled constructor argument caching for converted values (SPR-7423)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3608 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 09:30:04 +00:00