Commit Graph

600 Commits

Author SHA1 Message Date
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
Mark Fisher 8e92336f2b SPR-5507 The 'shutdownOrder' property of SmartLifecycle has been renamed 'phase'. The order no longer applies to shutdown only; now startup order is determined by the phase value as well. Components start in ascending order and stop in descending order.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2501 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 16:07:23 +00:00
Keith Donald 71c88d39bd additional javadoc and tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2491 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:30:34 +00:00
Mark Fisher 4fdef7cda1 SPR-6368 The parser for the 'executor' element in the task namespace now creates a FactoryBean so that the pool-size range can be configured after property placeholder resolution when necessary.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2485 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 22:21:45 +00:00
Costin Leau b37725c6ad SPR-6333
SPR-6393
+ fix invalid static field

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2478 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 20:04:13 +00:00
Mark Fisher 057d31b338 SPR-6354 DefaultLifecycleProcessor no longer waits for the shutdown of SmartLifecycle beans that are not actually running.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2477 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 18:09:14 +00:00
Costin Leau 8b085ec84a SPR-6394
SPR-6333
+ eliminated compile-time dependency on GlassFish custom API for the GlassFish LTW
+ added support for GlassFish 3

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2476 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 17:48:13 +00:00
Keith Donald 9d1daf3232 found hotspot; added ConverisonServiceFactoryBean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2473 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:43:12 +00:00
David Syer f8fcb83af5 RESOLVED - issue SPR-6398: Document attributes in @Scheduled and friends
http://jira.springframework.org/browse/SPR-6398

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2469 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 12:36:02 +00:00
Costin Leau fcdee85d54 SPR-6333
SPR-6393
+ fixed the tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2465 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 23:01:36 +00:00
Costin Leau 51a29707be + fix filename problem
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2463 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:33:15 +00:00
Juergen Hoeller 39bf8dc02e added chaining-capable "add" method to MutablePropertyValues
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
Keith Donald 2aa1f47933 improved toString method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:16:22 +00:00
Keith Donald 61495fb127 improved toString method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2460 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:16:06 +00:00
Costin Leau 9ad4fbbb7e SPR-6333
SPR-6393
+ eliminated compile-time dependency on oc4j classes

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2459 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 20:28:16 +00:00
Keith Donald 12b6feacac moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2447 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:10:51 +00:00
Keith Donald 449889af84 SPR-6350
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2435 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-14 05:44:46 +00:00