Commit Graph

700 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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 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
Costin Leau e77354546e SPR-5764
+ improved JBoss LTW by using the proper class loader for loading reflection types

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 18:56:16 +00:00
Keith Donald 2dbe05aa24 long style formatting tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2650 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 02:02:09 +00:00
Juergen Hoeller 9efda7f94b @ManagedBean coverage in javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 00:58:04 +00:00
Juergen Hoeller f7b6f34ddc support @ManagedBean for name retrieval in AnnotationBeanNameGenerator as well; support @ManagedBean and @Named for direct use only
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2647 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 00:53:56 +00:00
Juergen Hoeller 9fe730018b updated javadoc (SPR-6546)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2645 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:45:16 +00:00
Juergen Hoeller 197c2d7ca2 MBeanExporter detects FactoryBean-exported resources independent from declaration order
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:28:07 +00:00
Juergen Hoeller d4fe543bf5 removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2642 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:24:43 +00:00
Juergen Hoeller a03c3e30a1 fixed non-Lifecycle-FactoryBean with exposed Lifecycle object case (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2639 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:47:52 +00:00
Juergen Hoeller eb07dd4636 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:30:52 +00:00
Juergen Hoeller 057acab1ab SmartLifecycle retrieval fix, properly taking FactoryBeans into account (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2637 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:28:34 +00:00
Juergen Hoeller 38ef760372 detect Lifecycle-implementing FactoryBeans as well (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2636 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 14:08:08 +00:00
Juergen Hoeller 70cfa58b28 fixed JSR-303 Validator delegation code (SPR-6557)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2634 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 12:31:34 +00:00
Juergen Hoeller ee442d7808 component scanning autodetects the new EE 6 "javax.annotation.ManagedBean" stereotype
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2621 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 20:40:02 +00:00
Juergen Hoeller 4625700fbc autodetect GlassFish V3 as well (SPR-6152)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2620 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 18:42:59 +00:00
Juergen Hoeller fa07470e40 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:54:02 +00:00
Juergen Hoeller f1151210f1 added "converters" property to FormattingConversionServiceFactoryBean as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2612 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:53:25 +00:00
Juergen Hoeller 7a8d8b7c98 removed unnecessary logging
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2606 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 14:59:44 +00:00
Costin Leau f1190d4ee9 SPR-6492
+ upgrade to JRuby 1.4.0

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2605 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 10:57:54 +00:00
Chris Beams 5900cd6daa Renamed tests for AnnotationConfig[Web]ApplicationContext; added tests for scan() and register() methods.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2604 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 15:29:27 +00:00
Juergen Hoeller 1c5590cbab SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2603 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 13:27:15 +00:00
Juergen Hoeller aac72ddbed SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2602 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 12:17:01 +00:00
Juergen Hoeller 743c1894ec use varargs for scan method as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 10:17:27 +00:00
Costin Leau d9d46d03b2 SPR-6492
EBR-551
+ seems I spoke too soon - JRuby is still not in the EBR

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2600 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 09:19:32 +00:00
Costin Leau affe698425 SPR-6492
+ upgrade to JRuby 1.4.0

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 08:57:48 +00:00
Juergen Hoeller 08828377c3 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2597 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 20:33:33 +00:00
Juergen Hoeller 3f78a1b561 fail when @DateTimeFormat is being used without JodaTime on the classpath (SPR-6508)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 20:33:03 +00:00
Arjen Poutsma 7a6fb39dd4 SPR-6529 - DateTimeFormatAnnotationFormatterFactory calls String.isEmpty(), which exists only in JDK1.6+
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2592 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 14:41:30 +00:00
David Syer 2bad74c238 SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
David Syer 1380a7e322 SPR-5327: tidy up aopalliance dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2572 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 11:33:56 +00:00
Juergen Hoeller 54f6989469 full support for formatters on array/collection elements (SPR-6504)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 00:34:40 +00:00
Juergen Hoeller 9970eda08a lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2568 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:34:37 +00:00
Juergen Hoeller 3f4e30193b do not register default formatters for Date and Calendar (requiring explicit use of @DateTimeFormat there)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2567 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:26:08 +00:00
Juergen Hoeller e0915ad9c6 do not register a default NumberFormatter (SPR-6490)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2566 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 22:41:44 +00:00
Juergen Hoeller e7b5fc2631 added since tag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2565 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 16:30:51 +00:00
Juergen Hoeller 5560f45f35 fixed dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2562 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 13:15:33 +00:00
Juergen Hoeller f5cc78e6a0 JSR-303 SpringValidatorAdapter uses field name as first argument (analogous to bind errors; SPR-6407)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2555 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-01 02:25:48 +00:00
David Syer 9b7928b808 SPR-5327: tidy up Maven dependencies (keeping commons-logging)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:56:25 +00:00