Commit Graph

2887 Commits

Author SHA1 Message Date
Juergen Hoeller a5c05d7f9f allow for overriding specific DefaultLifecycleProcessor hooks (SPR-6617)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2777 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 19:48:48 +00:00
Juergen Hoeller 4869e25582 added lock timeout error code for H2 (SPR-6612)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2776 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 19:35:15 +00:00
Mark Fisher 17c01fae30 SPR-6644 The 'id' value from an 'executor' element in the task namespace is now used as the thread name prefix for the resulting ThreadPoolTaskExecutor instance.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2772 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 22:27:47 +00:00
Juergen Hoeller 195667d8eb fixed retriever cache putting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2759 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:46:15 +00:00
Juergen Hoeller 41e9b66cda revised JSP-based views to never fail when trying to setting forward attributes (SPR-6623)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2755 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:03:27 +00:00
Juergen Hoeller 95015712fc fixed "inner vs. nested class" terminology (SPR-6608)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2754 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:01:30 +00:00
Juergen Hoeller 6462b4d6ed refactored to pass along original ServletContext (for WebLogic and Resin JSP compatibility; SPR-6606)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2752 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 13:27:53 +00:00
Juergen Hoeller eadbf7a057 reset retriever cache when adding/removing listeners (SPR-6624)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2751 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 13:09:03 +00:00
Juergen Hoeller 39ca200ba9 fixed JavaConfig sample code (SPR-6637, SPR-6638)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2750 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 12:58:41 +00:00
Juergen Hoeller c67cca48a6 fixed scoped proxy unwrapping (SPR-6625)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2749 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 12:52:28 +00:00
Juergen Hoeller c7911436ab updated manifest for new JPA 2.0 criteria package (SPR-6636)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2748 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 12:50:22 +00:00
Chris Beams 2887b74448 Resolved SPR-6618. Restrictions were too tight on overloaded bean methods and were preventing it altogether. Overloading is now allowed, as long as there is no ambiguity at runtime which bean method should be invoked.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-30 19:42:12 +00:00
Juergen Hoeller ce695e80d0 initial preparations for 3.0.1 release
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2724 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-28 18:58:07 +00:00
Juergen Hoeller 5edc17473d generic ApplicationListener event type gets detected through proxy as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2723 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-28 18:57:15 +00:00
Chris Beams f146cb6ec7 SJC-273 resolved minor @Configuration documentation error
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2722 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-28 07:00:49 +00:00
Juergen Hoeller a9a3fe28d0 fixed getBeansWithAnnotation to ignore beans with non-determinable type (SPR-6579)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2718 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-23 19:11:19 +00:00
Christian Dupuis f126255c18 STS-723: fixed ViewControllerBeanDefinitionParser to not rely on instance state for handler mapping and handler adapter bean names
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2699 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-22 16:52:33 +00:00
Arjen Poutsma 855a8be626 Updated build for 3.0.1
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2691 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-17 10:53:15 +00:00
Chris Beams 9efc62b34a Resolved SPR-6187: touch-ups based on mfisher's feedback.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2689 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-16 08:44:54 +00:00
Juergen Hoeller 6c0a5b2234 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2688 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 21:37:59 +00:00
Juergen Hoeller 5b59b9a0dc avoid hard-coded AOP dependency for ScopedObject check
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2687 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 21:20:51 +00:00
Juergen Hoeller 53a71fe962 removed hard ScopedProxyUtils dependency in ConfigurationClassEnhancer
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:45:45 +00:00
Juergen Hoeller 9b0b6c4897 prepared for 3.0 GA release
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2685 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:21:07 +00:00
Juergen Hoeller 4989bb6379 TypedValue.NULL_TYPED_VALUE -> TypedValue.NULL
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2684 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:19:24 +00:00
Juergen Hoeller 55557b778f use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2683 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:18:31 +00:00
Keith Donald 7c138f1692 primitive desc caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2682 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 19:55:10 +00:00
Keith Donald b34a2ab777 TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2681 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 19:41:52 +00:00
Keith Donald f0f8f56a1e moved public methods up
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2680 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 18:51:28 +00:00
Keith Donald ad2f7663eb moved static factory methods up
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2679 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 18:50:17 +00:00
Juergen Hoeller b1dba5f5aa BeanValidationPostProcessor runs in before-initialization phase by default (SPR-6565)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2678 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 18:04:44 +00:00
Keith Donald d970ed678f value of optmization
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2677 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 17:52:52 +00:00
Keith Donald 25b0839597 object to String not supported test case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2676 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 16:07:43 +00:00
Keith Donald f983f6c4d5 ObjectToObject converter now only matches public methods/constructors; private class method invocations also supported now through a makeAccessible call
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2675 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 15:53:11 +00:00
Keith Donald 6478829a47 general polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2674 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 15:09:25 +00:00
Keith Donald 709cdb97c0 removed generic warning
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2673 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 14:00:27 +00:00
Juergen Hoeller 5add86419d catch ConversionException and ConvertedNotFoundException in BeanWrapper's convertIfNecessary as well, in order to support constructor resolution (SPR-6563)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2672 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:53:36 +00:00
Juergen Hoeller 246bb34e08 introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2671 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:36:22 +00:00
Juergen Hoeller 95d1eccd65 refined PropertyEditor exposure for the ConversionService case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2670 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:34:19 +00:00
Chris Beams c4d1940d06 SPR-6187: Document @Configuration classes and AnnotationConfig[Web]ApplicationContext
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2669 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:04:25 +00:00
Juergen Hoeller 18336e3732 introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2668 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 10:21:16 +00:00
Juergen Hoeller d39acb224e only try to convert to String if canConvert returns true
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2667 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 09:59:11 +00:00
Chris Beams 45ec0d2086 JavaDoc on AnnotationConfigApplicationContext#scan(String...)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2666 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 07:24:12 +00:00
Juergen Hoeller 5290ba790b SpelExpressionParser etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2665 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 02:05:34 +00:00
Juergen Hoeller cb9770c11b rearranged spel subpackages in order to avoid package dependency cycle; introduced SpelParserConfiguration object to replace bit flags
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2664 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 02:03:16 +00:00
Juergen Hoeller cb2adcaa8d removed MultipartRequest mixin interface again (avoiding a package dependency cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 00:51:32 +00:00
Keith Donald c60ebc27b6 html multi-page doc now only generates files per chapter consistent with Spring 2.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2662 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 00:18:46 +00:00
Juergen Hoeller 5a9bf0d3e8 ConverterRegistry etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2661 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:42:54 +00:00
Juergen Hoeller f22aebd590 added special handling of String array values for required fields, e.g. for WebRequestDataBinder (SPR-6552)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2660 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:42:17 +00:00
Juergen Hoeller 4e278ffad0 added unit test for setRequiredFields with @MVC (SPR-6552)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2659 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:32:26 +00:00
Juergen Hoeller 18ec90aff9 revised default converters; renamed ConverterRegistry's addGenericConverter to addConverter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:14:26 +00:00