Commit Graph

502 Commits

Author SHA1 Message Date
Juergen Hoeller db2a10a1eb avoid double ConversionFailedException nesting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3505 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:33:34 +00:00
Juergen Hoeller 3c4ec9af4e fixed WeakReferenceMonitor to never stop its monitoring thread if an entry has been registered (SPR-7373)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3501 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-23 18:18:16 +00:00
Juergen Hoeller 1ba330c276 GenericTypeResolver works for nested parameterized types and for generic superclasses as well (SPR-7389)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3499 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-22 15:57:55 +00:00
Juergen Hoeller 568f84f25e fixed test failures with respect to null handling and PropertyTypeDescriptor usage for collection elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3448 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 19:31:51 +00:00
Juergen Hoeller 7fb245167e ConversionService is able to deal with empty collections and nested collections (fixed regression; SPR-7289, SPR-7293); ConversionService properly handles nested Resource arrays in Map values (fixed regression; SPR-7295); ConversionService does not accidentally use copy constructor for same type (SPR-7304)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3447 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 17:29:34 +00:00
Arjen Poutsma 7f54fe732f Upgrading version to 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 14:18:29 +00:00
Juergen Hoeller 463cd8e0b0 avoid ConverterNotFoundException if source object is assignable to target type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3426 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 09:35:39 +00:00
Oliver Gierke cbfb11fffb Rollback accidental commit :/.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3424 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 05:33:39 +00:00
Oliver Gierke d3de491ea1 Added missing imports.
Added additional annotation to test interface to make sure no ClassCastException appears.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3423 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 05:29:48 +00:00
Oliver Gierke ccc01a9583 Added helper methods to access method parameter annotations.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3422 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 05:29:45 +00:00
Juergen Hoeller 7ad0b706c6 ConversionService fully supports conversion from String to MediaType now (through 'valueOf'; SPR-7282); revised exception handling in ObjectToObjectConverter, avoiding InvocationTargetExceptions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3419 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 23:23:49 +00:00
Juergen Hoeller ca716a9697 smarter guessing of the element type (SPR-7283)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3418 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 22:58:18 +00:00
Juergen Hoeller 689191548f properly support void.class in TypeDescriptor and GenericConversionService (SPR-7281)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3416 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 21:40:56 +00:00
Juergen Hoeller 858294f185 polished VFS support (SPR-7197)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3415 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 19:54:58 +00:00
Juergen Hoeller f15338b7dd DefaultListableBeanFactory checks for alias circle on registerAlias (avoiding endless loop; SPR-7274)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3409 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 21:45:47 +00:00
Juergen Hoeller be6385ea20 getAllInterfacesForClass introspects parent interfaces as well (SPR-7247)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3399 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 00:05:31 +00:00
Juergen Hoeller 92a49cba89 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3392 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 22:21:22 +00:00
Juergen Hoeller 5e35ea0a5a registerDependentBean resolves to the canonical bean name in order to handle alias references (SPR-7254)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3391 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 22:15:20 +00:00
Juergen Hoeller 34a65eb61a added limit for parsed SQL cache to NamedParameterJdbcTemplate (SPR-7237); added configurable cache limit to CachingMetadataReaderFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3372 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 19:35:06 +00:00
Juergen Hoeller a7e259435e ConversionService is able to apply Converters to interface-based array elements (SPR-7150); a context ConversionService is able to override an ApplicationContext's resource editors (SPR-7079)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3369 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 13:58:37 +00:00
Juergen Hoeller f8089ea9b8 ClassUtils recognizes "void" as primitive type name as well (SPR-7212)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3347 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-18 08:49:09 +00:00
Costin Leau 79597d6d05 SPR-7197
+ fix template

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3338 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-15 09:22:56 +00:00
Costin Leau c81830a2a1 SPR-7197
polish :)


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3337 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 19:34:36 +00:00
Costin Leau feec66ab73 SPR-7197
+ removed compile time dependency on JBoss VFS
+ added support for JBoss AS 6.0 / JBoss VFS 3.0.0 infrastructure

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3336 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 19:29:44 +00:00
Luke Taylor ed0eecff4b Added DomUtils.getChildElements() method. Also refactored ConfigBeanDefinitionParser.parse() to use it.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3334 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 16:07:39 +00:00
Juergen Hoeller 272329942b added getLastTaskInfo() method to StopWatch (SPR-7134)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3330 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-13 22:43:18 +00:00
Juergen Hoeller 546d9968d9 property placeholders can deal with nested expressions which happen to use the same suffix (SPR-7098)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3282 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-21 09:22:20 +00:00
Keith Donald 1d581a876c polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3272 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 20:35:57 +00:00
Keith Donald e921c1d447 checking in performance tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3271 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 20:22:01 +00:00
Keith Donald 9a39eac278 thread safety for caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3270 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 19:22:35 +00:00
Keith Donald 28a652ea77 caching optmizations and performance tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3268 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 03:58:28 +00:00
Keith Donald d8b65390ae polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3267 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 01:47:34 +00:00
Keith Donald 2951a24dca cache invalidation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3266 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 01:45:27 +00:00
Keith Donald ca29f3be5e converter caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3265 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 21:43:00 +00:00
Juergen Hoeller 21be98a8b5 fixed @ExceptionHandler resolution in case of multiple matches at different inheritance levels (SPR-7085)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3264 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 18:48:24 +00:00
Keith Donald b4a9591e40 preserving desc context for collection/map elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3263 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 14:09:41 +00:00
Keith Donald 53398416ec promoted char sequence first
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3261 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 20:22:30 +00:00
Keith Donald ef2409017c polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3260 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:47:08 +00:00
Keith Donald 90fb3dcfe3 fixed failing test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3258 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:28:06 +00:00
Keith Donald 21a9cb510f fixed failing test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3257 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:50:01 +00:00
Keith Donald 3c87a49b3c no longer used
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3256 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:43:54 +00:00
Keith Donald eca3e5d0b8 improved conversion system logging, collection converter simplification/polish, several optimizations, annotation-driven formatting caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3255 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:43:28 +00:00
Juergen Hoeller 7c04f12f73 PropertyTypeDescriptor detects underlying field with same lenient naming rules as CachedIntrospectionResults (SPR-7102)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3253 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-16 15:39:23 +00:00
David Syer faa0f29f0f Update version in POMs to 3.0.3
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 10:26:14 +00:00
Juergen Hoeller 450b60b11b call setAccessible for public final field too (SPR-7078)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3236 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-08 12:15:18 +00:00
Juergen Hoeller 98310aede8 specific detection of CGLIB subclasses in order to properly handle CGLIB interfaces (SPR-7066)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3228 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-06 11:52:42 +00:00
Ramnivas Laddad c340cf02e0 Improved fix for SPR-6850 by dealing with bounds separately from normal types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3220 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 23:37:08 +00:00
Juergen Hoeller ab513c23c9 fixed ambiguous reference to Entry type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3214 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:36:57 +00:00
Juergen Hoeller 06342b82d6 ResourcePatternUtils provides plain PathMatchingResourcePatternResolver in case of a null ResourceLoader
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3213 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:35:49 +00:00
Juergen Hoeller 45c82a6197 fixed collection element conversion using ConversionService (SPR-6950)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3176 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 15:02:19 +00:00