Commit Graph

616 Commits

Author SHA1 Message Date
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
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
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
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 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
Juergen Hoeller 65df1c6f4c constructor arguments can be overridden by name in child bean definitions (SPR-6463)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2546 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:17:28 +00:00
Keith Donald 61ad147135 javadoc polishing--named Parser String arg name to 'text'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2540 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-28 21:16:01 +00:00
Mark Fisher a4ade65348 Added tests for the DefaultLifecycleProcessor and a custom "lifecycleProcessor" bean.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2537 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 20:38:43 +00:00
Mark Fisher 6ab737cc87 SPR-5507 When determining start/stop order, the DefaultLifecycleProcessor checks for the new Phased interface rather than SmartLifecycle now.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2534 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 17:30:35 +00:00
Mark Fisher afa4807f58 SPR-5507 Factored out the Phased interface.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2532 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 15:59:12 +00:00
Keith Donald e0cd89a139 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2528 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 04:31:09 +00:00
Juergen Hoeller 00e6745d26 fixed tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2527 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 02:15:48 +00:00
Juergen Hoeller 5f212a34e6 FormatterRegistry extends ConverterRegistry now; FormattingConversionService extends GenericConversionService
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2526 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:58:31 +00:00
Juergen Hoeller c02717aec6 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2525 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:49:18 +00:00
Juergen Hoeller 6dd447bdbc clarified double role of id property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2524 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:45:53 +00:00
David Syer 6deff08db2 RESOLVED - issue SPR-6444: TaskExecutor not initialized in task namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2508 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 13:18:31 +00:00
Juergen Hoeller d0790eca4d added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2505 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 00:17:29 +00:00
Juergen Hoeller 191bbd909b fixed LifecycleProcessor lookup in a Spring Dynamic Modules context (SPR-6356); moved ConversionService lookup to prepareBeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2502 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 23:46:44 +00:00