Commit Graph
331 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 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
Sam Brannen bd428f98fd Deleting unused imports.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2353 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:14:25 +00:00
Juergen Hoeller c1ff125fb8 AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2345 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:11:41 +00:00
Keith Donald 78390ae84e polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2342 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:00:52 +00:00
Keith Donald ad93204090 annotation driven number formatting with default number formatting rules
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2339 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:53:02 +00:00
Arjen Poutsma e1d7fd856f SPR-6308 - Spring Expression Language creates systemProperties bean calling System.getProperties() which in enterprise shared containers is locked down
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2335 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 16:39:20 +00:00
Chris Beams 1452b2ffd1 SPR-6328: Rename @ImportXml -> @ImportResource and allow for usage of non-XML BeanDefinitionReader types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2325 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 00:48:30 +00:00
Keith Donald dd4c123427 date time format code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2318 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 20:34:59 +00:00
Keith Donald bc9ef36f26 updated favoring style pattern string instead of Style enum for DateTimeFormat
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2304 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 21:07:41 +00:00
Keith Donald 88c16dbd4d javadoc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2303 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 20:25:03 +00:00
Chris Beams a502272b6b Additional tests rounding out @ImportXml coverage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2292 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 03:53:58 +00:00
Chris Beams 2bfa32da80 SPR-6158: Initial implementation and tests for @ImportXml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 00:32:40 +00:00