Commit Graph
161 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
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
Keith Donald 46cb691cf8 SPR-6537 initial commit; more extensive testing to follow
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2619 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 17:36:58 +00:00
Juergen Hoeller ed5de705ac GenericConversionService prefers matches against inherited interfaces over superclasses (SPR-6297)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2610 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 16:16:55 +00:00
Arjen Poutsma b96070163e SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2589 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 13:59:07 +00:00
Arjen Poutsma c2b7b406c4 SPR-6280 - PathVariable resolution does not work properly
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2499 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 13:53:37 +00:00
Keith Donald c52f5a696a removed entity to string id conversion routine as it is not required
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2495 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-23 00:07:39 +00:00
Keith Donald 5bbb38479d Added entity conveter null checking; updated from string converters to simply test str.length() as pre-processing check
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2494 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-22 15:40:41 +00:00
Keith Donald f4a9460bc6 moved test case where it belongs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2493 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:36:40 +00:00
Keith Donald 101a0667f3 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2492 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:34:04 +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 5ad4d199cc Add some tests (and comment out the one that is breaking the build)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2470 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 13:36:57 +00:00
Keith Donald e1463010f4 doc updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2467 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 05:00:28 +00:00
Keith Donald f6ee598cd3 default conversion service instance caching and tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2452 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 15:23:56 +00:00
Keith Donald 6137e740f2 default conversion service instance caching and tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2451 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 15:22:44 +00:00
Keith Donald a15c8635a9 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@2448 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:11:19 +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
David Syer 62570a8e82 RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
http://jira.springframework.org/browse/SPR-6366

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2445 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-18 07:54:19 +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
David Syer cc30c87a29 RESOLVED - issue SPR-6321: Regression: ResourceEditor in 3.0 does not ignore unresolvable placeholders, but it did in 2.5.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2394 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 11:07:15 +00:00
Keith Donald fd45d264bd updated test to reflect correct behavior
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2385 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 07:13:00 +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 9cf4dce9ff valueOf and Constructor-based conversion of source objects to targetTypes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2381 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 05:25:03 +00:00
Juergen Hoeller 9d14faa676 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@2346 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:24:43 +00:00
Arjen Poutsma 8f3bf2c779 Renamed Md5HashUtils to DigestUtils
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2275 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 11:52:53 +00:00
Keith Donald 4aafe47a52 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2249 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:07:25 +00:00
Keith Donald ef5e79f47c SPR-6199
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2152 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 00:13:30 +00:00
Keith Donald e3b0a642b1 added null handling, fixed bug relating to conversion of non-generic collections
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2151 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-18 22:20:53 +00:00
Keith Donald 4af6fd7e0d SPR-6179, additional mapper test cases
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2047 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-04 04:13:27 +00:00
Juergen Hoeller beed00b5b7 understand "on"/"off", "yes"/"no", "1"/"0" as boolean values (analogous to CustomBooleanEditor)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2034 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 11:18:48 +00:00
Juergen Hoeller 9eac45c987 removed classes which are not used in 3.0 yet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1997 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:54:35 +00:00
Juergen Hoeller 7d68ca8992 PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1994 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:34:02 +00:00
Keith Donald eacab1aa86 more tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1975 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 18:36:11 +00:00
Keith Donald f7569e3281 completed generic converter implementation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1974 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 18:25:04 +00:00
Keith Donald 7edc333af9 map converters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1966 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 04:45:04 +00:00
Keith Donald dd9eb663f2 string to map converters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1965 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 04:20:23 +00:00
Keith Donald 46e8745cd8 more generic converters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1962 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-22 20:28:23 +00:00
Keith Donald 6cfa92a487 conversion utils helper for common code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1961 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-22 15:37:26 +00:00
Keith Donald 3c9fa8931d Beefed up test suite
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1958 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 22:59:48 +00:00
Keith Donald ec1e1fca12 documented hooks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1956 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 22:24:36 +00:00
Keith Donald 2ae21e90a1 array to object
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1943 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 23:15:33 +00:00
Keith Donald 9c1f491c72 collection and array merged into one
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1941 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 23:02:52 +00:00
Keith Donald 8c42c1bfd2 array to collection conversion
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1940 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 22:18:41 +00:00
Keith Donald fad7b691bf refined generic converter concept
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1932 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 19:57:59 +00:00
Keith Donald 81b0a8205d map to map generic converter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1930 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:30:23 +00:00
Keith Donald f826fe6234 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1917 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 20:16:26 +00:00
Keith Donald 65ca2bba6e Converter system implementation cleanup and tidying; wip
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1911 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 19:24:07 +00:00
Rob Harrop b98d52b16b [SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:37:02 +00:00
Rob Harrop f3606bf320 reworked PropertyPlaceholderHelper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1848 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 19:09:12 +00:00