Commit Graph

392 Commits

Author SHA1 Message Date
Mark Fisher 2429a08243 SPR-6670 @Scheduled now supports property placeholders for cron expressions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2799 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 20:20:33 +00:00
Mark Fisher 50c9dfe649 SPR-6669 @Scheduled may now be used as a meta-annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2798 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 18:36:48 +00:00
David Syer efb1a30329 RESOLVED - issue SPR-6666: CronTrigger/CronSequenceGenerator fails to handle daylight saving timezone changes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2797 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 16:05:12 +00:00
Juergen Hoeller d6829ab28d ApplicationListeners will only be executed once per event (even for scripted objects; SPR-6589)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2788 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 12:58:18 +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
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 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
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 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
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 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 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 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
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 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
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 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
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
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
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
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
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
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
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
Juergen Hoeller de81b27a46 introduced dedicated Jsr330ScopeMetadataResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2422 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 00:36:39 +00:00
Juergen Hoeller 5913d15e31 inner beans detected as ApplicationListeners as well (SPR-6049)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2410 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 17:47:34 +00:00
David Syer f80b9a139c RESOLVED - issue SPR-6321: Regression: ResourceEditor in 3.0 does not ignore unresolvable placeholders, but it did in 2.5.6
Different initialization exception popped up in app context

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2395 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 11:20:51 +00:00
Keith Donald e9b484b20e fixed failing tests due to generic object to object converter fallback being over eager
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2383 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 06:57:51 +00:00
Keith Donald 4a8bac56d3 Deferring object mapper until Spring 3.1 when it will be used by other projects
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2379 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 03:53:59 +00:00
Mark Fisher 5c1a7cc953 SPR-5507 Added support for shutdown order on SmartLifecycle. DefaultLifecycleProcessor now manages the shutdown in phases depending on that order (with a timeout value per group).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2368 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:09:44 +00:00
Juergen Hoeller c9d74e4eb4 MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2366 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 01:43:34 +00:00
Juergen Hoeller ad0168d2f7 child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2363 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 00:09:05 +00:00