Commit Graph

386 Commits

Author SHA1 Message Date
Keith Donald 8e800f0322 map to map generic converter 2009-09-18 14:30:23 +00:00
Juergen Hoeller 7b42a12161 consistent loading of optional classes 2009-09-18 14:01:39 +00:00
Keith Donald d29a894d57 javadoc 2009-09-17 21:32:31 +00:00
Keith Donald 563ef683f9 polish 2009-09-17 21:27:57 +00:00
Keith Donald 1d9607b465 javadoc 2009-09-17 21:03:19 +00:00
Keith Donald d848d21f09 polish 2009-09-17 20:16:26 +00:00
Keith Donald e153a1a968 tidying string to char conversion 2009-09-17 20:05:38 +00:00
Keith Donald 5c3e71d494 polish 2009-09-17 19:56:19 +00:00
Keith Donald 3ef485bbbe polish 2009-09-17 19:53:17 +00:00
Keith Donald 31441627de updated formatter conversion service adapter to work with type descriptor 2009-09-17 19:48:55 +00:00
Keith Donald 39c1ab923f tidying 2009-09-17 19:24:35 +00:00
Keith Donald 33c19b8b14 Converter system implementation cleanup and tidying; wip 2009-09-17 19:24:07 +00:00
Thomas Risberg 10c30f0315 modified createRelative according to David Ward's suggestion for JBSPRING-4 (SPR-5120) 2009-09-17 15:58:25 +00:00
Juergen Hoeller 87e939a4e9 adapted to Converter signature change 2009-09-17 10:24:08 +00:00
Keith Donald 8bf1ee5e7c polish 2009-09-16 19:25:07 +00:00
Keith Donald 1c6965132f convert polishing: removed checked exception from Converter interface to support direct use, added Converter to each implementation for consistency 2009-09-16 19:24:56 +00:00
Juergen Hoeller 2a0d68cb5c restored getMostSpecificMethod's traversal of the inheritance hierarchy 2009-09-15 22:31:08 +00:00
Juergen Hoeller fd81aa205d protected @Autowired method can be overridden with non-annotated method to suppress injection; private @Autowired methods with same signature will be called individually across a hierarchy (SPR-6112) 2009-09-15 15:52:13 +00:00
Keith Donald 1e9fc388ac added javax validation, hibernate, and vfs dependencies into eclipse 2009-09-11 19:04:03 +00:00
Thomas Risberg 64c46d48bb extended the range for org.jboss.virtual (SPR-5120) 2009-09-10 11:12:23 +00:00
Thomas Risberg 184f63f689 fixed component scanning for JBoss 5 VFS; applied revised vfs-fixes-3.patch; added ResourceHandlingUtils (SPR-5120) 2009-09-10 10:35:04 +00:00
Rob Harrop 8f6a42bf64 [SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed 2009-09-08 21:37:02 +00:00
Juergen Hoeller 209f43bee7 BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value (SPR-6079) 2009-09-08 20:55:00 +00:00
Rob Harrop f20c074ff4 reworked PropertyPlaceholderHelper 2009-09-08 19:09:12 +00:00
Rob Harrop d16faafc4f [SPR-6025] support for recursive property placeholder replacement in system properties 2009-09-08 17:13:02 +00:00
Rob Harrop 3fe09d70cd [SPR-6025] added SystemPropertyUtilsTests 2009-09-08 16:29:43 +00:00
Rob Harrop 8357bcb050 [SPR-6025] PropertyPlaceholderUtils introduced 2009-09-08 16:24:38 +00:00
Juergen Hoeller 6651ff0c55 fixed formatter annotation lookup 2009-09-08 01:35:36 +00:00
Juergen Hoeller 6e95b2c311 polishing 2009-09-08 00:05:09 +00:00
Juergen Hoeller a86a698e5b initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry 2009-09-07 23:58:42 +00:00
Juergen Hoeller c5e49fc6dc refined PathMatchingResourcePatternResolver's treatment of non-readable directories (SPR-6086) 2009-09-07 12:44:59 +00:00
Rob Harrop bfa4231c9d removed dependency on ServletException 2009-09-04 18:56:26 +00:00
Rob Harrop aee3f14d3c removed unecessary dependency on ServletException 2009-09-04 18:46:55 +00:00
Rob Harrop a03ca86372 [SPR-6057] test case to show that bug is already fixed 2009-09-03 16:18:22 +00:00
Thomas Risberg d10be7443f Fixed JavaDoc for determineRootDir method (SPR-5340) 2009-09-02 20:03:12 +00:00
Juergen Hoeller 8754f0bc85 updated dependencies 2009-08-31 11:25:54 +00:00
Arjen Poutsma 66a799552f SPR-2784: Support MultipartFile-array property 2009-08-28 09:15:19 +00:00
Juergen Hoeller fee838a65e support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory 2009-08-24 13:30:42 +00:00
Juergen Hoeller 2d7c2d6fff revised wrapper type handling 2009-08-09 06:36:16 +00:00
Juergen Hoeller 45a0cadf8e revised core conversion package for BeanWrapper/BeanFactory integration 2009-08-09 00:46:49 +00:00
Juergen Hoeller e9823b57b4 revised embedded database support 2009-08-08 20:37:47 +00:00
Costin Leau af6275a56e + small fix to reflection util to avoid accessibility calls 2009-08-06 22:44:04 +00:00
Mark Pollack 97e3b5ca8c SPR-5976 - Upgrade POMS to JUnit 4.6 2009-08-05 17:48:53 +00:00
Arjen Poutsma 8db13bb445 Deprecated org.springframework.enums 2009-08-05 11:51:13 +00:00
Arjen Poutsma b95f3f6792 Getting rid of @Ignore 2009-08-05 11:31:11 +00:00
Keith Donald a6330ca61e Fixed failing test due to compiler differences 2009-07-31 04:31:59 +00:00
Keith Donald e986434a25 moved collection utilities to util 2009-07-31 02:38:10 +00:00
Keith Donald e020b5752a initial BindingLifecycle @MVC integration 2009-07-30 11:18:39 +00:00
Mark Fisher 1bfb26e4b2 updated aspectj weaver version in .classpath files to match ivy.xml configuration 2009-07-24 20:09:01 +00:00
Juergen Hoeller f519406c37 @Primary/@Lazy/@DependsOn supported as meta-annotations; @Bean supported as meta-annotation on factory methods as well 2009-07-22 15:23:22 +00:00
Juergen Hoeller 3462b43bb1 getAnnotationAttributes generally supports meta-annotation lookup 2009-07-21 14:44:07 +00:00
Juergen Hoeller dbdd6eca60 AnnotationUtils.getAnnotation generally supports meta-annotation lookup 2009-07-21 14:35:42 +00:00
Juergen Hoeller 364641e9bc revised static annotation check 2009-07-21 14:12:16 +00:00
Keith Donald dc5faec189 all tests back compiling, still a few failing marked ignored 2009-07-20 22:05:28 +00:00
Juergen Hoeller cf29d1c367 constructor argument type matching supports arrays and simple class names now (SPR-5844) 2009-07-16 11:25:52 +00:00
Chris Beams 9163d8043b updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed. 2009-07-15 07:26:31 +00:00
Arjen Poutsma 8073efd69f SPR-5924 - REOPENED -PathVariable mappings are greedy over hard coded mappings 2009-07-14 07:08:02 +00:00
Arjen Poutsma abfc479bdb SPR-5924 - REOPENED -PathVariable mappings are greedy over hard coded mappings 2009-07-13 15:35:24 +00:00
Keith Donald 9f8638e557 fixed element type bug 2009-07-12 18:29:19 +00:00
Keith Donald eb4a767f6b removed last ignore 2009-07-12 18:00:18 +00:00
Keith Donald 737c66d729 polish 2009-07-12 17:57:18 +00:00
Keith Donald 89a8e4073b more el converters 2009-07-12 17:49:13 +00:00
Keith Donald 1344a6d4d0 more converters; since 3.0 2009-07-12 17:47:33 +00:00
Keith Donald c519f2bd3a string to map 2009-07-10 23:42:39 +00:00
Keith Donald f53e627bb5 string array to map converter 2009-07-10 23:27:27 +00:00
Keith Donald e4c868b837 javadoc 2009-07-10 21:32:24 +00:00
Mark Pollack 69422e771f SPR-5619 - (OpenSessionInViewTests, ClassUtilTests fixed)
Update org.sf.web/.classpath to refer to tiles 2.1.2
2009-07-10 03:30:12 +00:00
Mark Pollack 8c9346718b POM maintenance/development - initial jarjar support in maven build for ASM 2009-07-10 02:12:50 +00:00
Mark Pollack 0c16554e23 SPR-5803 and additional POM maintenance/development 2009-07-09 19:38:07 +00:00
Keith Donald 2aef75b907 list binding tests 2009-07-09 03:30:19 +00:00
Keith Donald 90bafe35cb forgot to commit type descriptor 2009-07-08 22:46:29 +00:00
Arjen Poutsma 928855e47a Javadoc 2009-07-08 10:15:58 +00:00
Sam Brannen 620c9b1f96 [SPR-5895] Upgraded to EasyMock 2.5.1. 2009-07-03 09:32:15 +00:00
Sam Brannen 8bfb56c75b [SPR-5887] Upgraded to JUnit 4.6.0. 2009-07-02 18:07:55 +00:00
Sam Brannen 4da16bb1f9 Made fragile tests a little less fragile: increased max times. 2009-07-02 18:06:20 +00:00
Sam Brannen 3caecbd1ef A "path patch": AntPatchStringMatcher -> AntPathStringMatcher ;) 2009-06-12 14:26:37 +00:00
Arjen Poutsma ed98bf0668 SPR-5812 - Custom regex matching for @PathVariable 2009-06-12 12:58:27 +00:00
Andy Clement 1e0207cf04 modified so that when the descriptor represents a method parameter, we retrieve the annotations from the method and not the method parameter (seems to make more sense - certainly in the binding case) 2009-06-02 00:25:20 +00:00
Mark Fisher b0d11e8c15 Added package declarations and comments to package-info.java files where they had been missing. 2009-06-01 18:47:52 +00:00
Keith Donald 16ad6a3617 initial data binder commit; dateformatter 2009-06-01 18:34:22 +00:00
Chris Beams a9696c7282 RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
* Applied patch submitted by Carlos Zuniga
2009-06-01 04:14:22 +00:00
Juergen Hoeller a26a2275c3 revised Java 6 checks to test for the presence of specific Java 6 interfaces/classes only 2009-05-28 11:16:42 +00:00
Keith Donald f4bc0ab061 polish 2009-05-23 21:27:44 +00:00
Keith Donald b093094c50 renamed back to TypeDescriptor after ConversionContext proved not good enough name for any change 2009-05-23 21:23:10 +00:00
Juergen Hoeller 7dc9ec53a1 return generics-capable Class references 2009-05-19 22:39:58 +00:00
Juergen Hoeller e7eb684304 added additional cast for javac 2009-05-19 22:39:20 +00:00
Keith Donald 8cbab5acb6 costin code review comments 2009-05-18 13:13:34 +00:00
Keith Donald d13567bc8f added support for null conversion point type 2009-05-17 03:09:59 +00:00
Keith Donald 18be2ffadc fixed autoboxing bug 2009-05-17 02:22:02 +00:00
Keith Donald 0c85f3df55 doc polishing 2009-05-16 18:46:56 +00:00
Keith Donald b33be88c9d tests passing again 2009-05-15 21:31:57 +00:00
Keith Donald 46c9a003eb BindingPoint to ConversionPoint, javadoc 2009-05-15 20:32:23 +00:00
Keith Donald 6f74369cb3 polish 2009-05-15 17:28:55 +00:00
Keith Donald 9a261470ad converter system refactoring from community input 2009-05-14 21:36:49 +00:00
Juergen Hoeller 0471d5d3ea removed outdated imports 2009-05-12 23:50:35 +00:00
Juergen Hoeller ad5d090c86 removed outdated imports 2009-05-12 23:40:45 +00:00
Juergen Hoeller f1c852b14c polishing 2009-05-12 23:39:56 +00:00
Juergen Hoeller 59101c096f replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency 2009-05-12 23:37:43 +00:00
Juergen Hoeller bbd69da37f updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges 2009-05-12 16:43:15 +00:00
Juergen Hoeller b72af54f53 eagerly load NestedExceptionUtils to avoid potential getMessage deadlock on OSGi (SPR-5607) 2009-05-11 22:22:11 +00:00
Keith Donald 796a457d9f added two way converter 2009-05-11 21:40:55 +00:00
Keith Donald 50985d5aa9 renamed executeConversion to simply convert for readibility 2009-05-11 21:25:33 +00:00
Keith Donald c3f54b4cb4 renamed to ConverterNotFoundException 2009-05-11 21:24:07 +00:00
Keith Donald d7c90cff14 made ConversionExecutor internal; removed other unused operations from public SPI 2009-05-11 21:23:18 +00:00
Keith Donald 96629c7dc5 h2 embedded db support; updated formatting conventions not to auto-format javadoc; added hsqldb and h2 to jdbc maven pom as optional deps 2009-05-09 22:27:05 +00:00
Juergen Hoeller c7f8d1be62 reactivated ignored tests in revised form 2009-05-05 18:34:35 +00:00
Juergen Hoeller 250ef281a4 reverted non-public proxy interface change 2009-05-05 14:53:01 +00:00
Juergen Hoeller cef7a2b965 exclude non-public interfaces when autodetecting proxy interfaces 2009-05-05 12:37:18 +00:00
Juergen Hoeller 9b4f9106c5 polishing 2009-05-05 09:26:04 +00:00
Sam Brannen d3af831334 Now parameterizing with <?> where appropriate. 2009-04-30 00:58:08 +00:00
Juergen Hoeller cea8f7f69e custom stereotype annotations can be meta-annotated with @Service, @Controller etc as well; @Scope and @Transactional are now supported as meta-annotations on custom annotations 2009-04-26 11:41:06 +00:00
Juergen Hoeller 423809543a polishing 2009-04-24 11:25:27 +00:00
Juergen Hoeller 77112ba80e updated AnnotationMetadata tests for change in Class exposure 2009-04-24 11:24:47 +00:00
Juergen Hoeller b5d21108da @Configuration parsing fully relies on Spring's MetadataReader abstraction now 2009-04-24 11:16:46 +00:00
Juergen Hoeller ea9d8925a2 next cut of JavaConfig metadata reading revision: using cached MetadataReaders 2009-04-22 10:46:24 +00:00
Juergen Hoeller 14bd475519 revised support for annotated factory methods (merged @FactoryMethod functionality into JavaConfig facility) 2009-04-19 23:45:31 +00:00
Juergen Hoeller 64321755b6 moved Scope annotation to local test package 2009-04-19 20:35:32 +00:00
Juergen Hoeller 8ee0363776 mergePropertiesIntoMap copies non-String values as well (SPR-5669) 2009-04-17 12:21:57 +00:00
Arjen Poutsma acc84925d3 SPR-5631 - Implicit /** mapping on type-level @RequestMapping 2009-04-17 09:28:08 +00:00
Arjen Poutsma 19e5b7d668 Updated combine method on AntPatchMatcher to reflect usage in unit tests. 2009-04-16 12:53:36 +00:00
Juergen Hoeller 310a3a2d71 officially deprecated ClassUtils.forName variant without ClassLoader 2009-04-15 22:33:56 +00:00
Thomas Risberg 1facd45c5e switched to use XInclude 2009-04-14 21:37:40 +00:00
Costin Leau f6ecffdba7 + osgi manifest updates 2009-04-11 20:57:09 +00:00
Keith Donald 1d22b9fb88 activated DefaultConversionService in EL, linking convert and EL 2009-04-10 20:47:04 +00:00
Keith Donald 8b52b7eeef autobox tests 2009-04-10 19:19:53 +00:00
Keith Donald ebb203a251 removed custom converter for m3 to add back in rc1; also ensure type descriptor get type always returns wrapper types if primitive 2009-04-10 15:57:18 +00:00
Keith Donald b988f1a539 javadoc 2009-04-10 15:21:16 +00:00
Keith Donald 76f63f8b64 map-to-map tests 2009-04-10 15:07:23 +00:00
Andy Clement ba613f2e35 allow for null 2009-04-09 22:04:08 +00:00
Mark Pollack 362629d03b Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT (again) 2009-04-09 14:38:35 +00:00
Keith Donald 3e4810f670 polish 2009-04-09 14:09:10 +00:00
Keith Donald a0cab10ccc polish 2009-04-09 14:01:40 +00:00
Keith Donald 9ce71f67ff conversion service helper tests - part 1 2009-04-08 22:10:26 +00:00
Keith Donald d966965a4c default converter tests 2009-04-08 19:58:19 +00:00
Andy Clement 4a7f7bb24a more tests 2009-04-08 04:48:35 +00:00
Andy Clement 76fcc81bc6 New method to return string representation of typeDescriptor 2009-04-08 04:47:54 +00:00
Andy Clement f6c1144e8d tests for TypeDescriptor - just basic so far 2009-04-03 23:38:31 +00:00
Andy Clement bdecf6720e extra factory method and type descriptor for NULL defined 2009-04-03 23:38:18 +00:00
Andy Clement 5a0522e203 fixed support for -1 parameterIndex to access the method return type 2009-04-03 23:37:59 +00:00
Mark Pollack 8f76197485 Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT 2009-04-03 14:03:48 +00:00
Arjen Poutsma 07e6d9d966 More refinements for combine() 2009-04-03 11:35:18 +00:00
Arjen Poutsma 5dbae2c979 More tests for combine() 2009-04-03 11:14:37 +00:00
Arjen Poutsma 56ddc76712 Added combine method to PathMatcher, for combining two patterns. 2009-04-03 10:44:57 +00:00
Andy Clement accf974727 use type descriptor to determine collection element type 2009-04-01 16:52:12 +00:00
Juergen Hoeller b85d45725d @Value values may use ${...} placeholders (driven by PropertyPlaceholderConfigurer); @Autowired uses field/parameter name as fallback qualifier value (SPR-5152) 2009-03-31 20:27:42 +00:00
Keith Donald 1b1eb82adc added todos left 2009-03-31 17:56:08 +00:00
Keith Donald 10a1d5042a polish 2009-03-31 17:52:58 +00:00
Keith Donald b9caa6c60f polish 2009-03-31 17:52:16 +00:00
Keith Donald ce8718ebf2 polish 2009-03-31 17:50:26 +00:00
Keith Donald 199c9bb9c5 removed typed value 2009-03-31 16:51:09 +00:00