Commit Graph

771 Commits

Author SHA1 Message Date
Chris Beams 7f82764cb2 + Updated all projects to use the re-introduced org.springframework.asm instead of org.objectweb.asm (.java, template.mf, ivy.xml, and .classpath files have been updated)
+ Finished support for @Import, including detection of circular imports


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@775 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-21 19:00:57 +00:00
Ben Hale 95b992d43d [SPR-5459] Added jarjar'd asm packaging
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@774 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-20 12:15:06 +00:00
Thomas Risberg e2cb01c676 Added the Spring Framework reference documentation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@773 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-18 20:00:49 +00:00
Colin Sampaleanu 2d4710bf68 update hibernate and openjpa dependencies to match the orm module
variants. Note that tests are still broken


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@772 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-15 03:07:05 +00:00
Mark Pollack 1748a09613 Add support for @ScopedProxy for factory beans using the @FactoryBean annotation within a @Component
Add missing unit tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@771 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-13 18:14:40 +00:00
Colin Sampaleanu d5f8c2767f fix ecliipse jar imports to match recent changes (hibernate, openjpa) to
ivy dependenies


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@770 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-13 05:39:32 +00:00
Chris Beams 09c570fd44 removing unnecessary eclipse 'Project Facets' metadata
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@769 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-13 04:16:58 +00:00
Thomas Risberg b37a461eb0 added tests for custom SQLException translation, polished (SPR-4899)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@768 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 21:32:40 +00:00
Thomas Risberg f041d50b41 changed exception class thrown for problems configuring GenericSqlQuery class (SPR-3986)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@767 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 21:30:42 +00:00
Thomas Risberg 0ba04cafd0 added the option of providing a database specific custom SQLExceptionTranslator to provide customized translation for any SQLException before the error codes translation happens (SPR-4899)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@766 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 17:22:02 +00:00
Thomas Risberg ee4c0e7101 switched tests to use JUnit4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@765 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 06:29:33 +00:00
Thomas Risberg d3c10437c4 added a concrete GenericSqlQuery class to make it possible to configure in application context (SPR-3986)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@764 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 04:38:56 +00:00
Thomas Risberg b9b536871c fixed missing tabs in application context file (SPR-3987)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@763 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 04:35:45 +00:00
Thomas Risberg 87a53c0777 moved the application context file to correct directory (SPR-3987)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@762 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-12 02:17:49 +00:00
Thomas Risberg d79c880c46 added a concrete GenericStoredProcedure class to make it possible to configure using application context (SPR-3987)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@761 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-11 23:01:22 +00:00
Thomas Risberg 41ad9365d9 added a DuplicatKeyException catagory for SQLException translation (SPR-5125)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@760 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-09 23:26:54 +00:00
Keith Donald fefb06a5be custom converters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@759 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-09 02:28:22 +00:00
Keith Donald d920c52393 super converter implementation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@758 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-08 08:47:10 +00:00
Chris Beams f8865749db ignoring clover prefs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@757 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 21:51:41 +00:00
Chris Beams c26eb40c4a ignoring clover prefs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@756 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 21:50:53 +00:00
Chris Beams ca05d99b7d Eliminated all compilation warnings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@755 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 21:47:48 +00:00
Chris Beams 5a62fb1762 Whitespace and license polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@754 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 21:41:45 +00:00
Mark Pollack 43bb43116c Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@753 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 07:48:53 +00:00
Mark Pollack 3f024d2f4b Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@752 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 07:42:25 +00:00
Chris Beams 555f14aac8 Dependency updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@751 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 06:37:19 +00:00
Chris Beams d5f20c4247 + Further documentation and pruning.
+ Added testing-related TODOs where appropriate


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@750 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 06:36:18 +00:00
Chris Beams d6f6e9cb05 Removed empty .internal package
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@749 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 06:17:12 +00:00
Chris Beams 0d87c48d98 + Eliminated support for @Extension methods for now
+ Consolidated all remaining supporting classes into .support package, eliminating .internal.*
+ 7 public types remain


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@748 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 06:14:46 +00:00
Chris Beams 1832156349 Javadoc polish & pruning dead code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@747 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 05:49:12 +00:00
Chris Beams bb86f785be + Added 'proxyMode' attribute to @Scope annotation
+ Eliminated @ScopedProxy in favor of @Scope(proxyMode=NO|INTERFACES|TARGET_CLASS)


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@746 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 04:54:31 +00:00
Chris Beams 873723313c @Scope is now allowed on methods (for use in conjunction with @Bean)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 03:37:10 +00:00
Chris Beams b7c8d57da2 + Eliminated UsageError/Validatable/MalformedConfigurationException in favor of existing Problem/ProblemReporter types
+ Pruned a number of attributes from the @Bean and @Configuration annotations


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@744 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 03:22:22 +00:00
Rossen Stoyanchev ab8bdd79ee Add (missing) dependencies on oxm project and xmlunit library
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@743 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 00:08:49 +00:00
Keith Donald 515f1c57d3 basic conversion service impl; still need super converters, custom converters, and conversion of generic collection elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@742 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 23:48:17 +00:00
Keith Donald 5fb9dbb7d0 turned on debug logging
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@741 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:33:43 +00:00
Keith Donald 02a7b6c680 removed aopalliance errant dependency; removed unused import
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@740 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:25:34 +00:00
Keith Donald 0bf226e205 assert of length 1
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@739 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:22:05 +00:00
Chris Beams 83e909fc52 Removing accidentally committed clover-related eclipse metadata
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@738 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:20:40 +00:00
Keith Donald 441cc1859e javadoc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@737 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:20:34 +00:00
Chris Beams d9ae8634bc Removed Validator interface and inlined its implementations
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@736 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:17:17 +00:00
Keith Donald 0ef851f070 convert system spi and api
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@735 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 20:08:33 +00:00
Chris Beams 0aea9993eb Re-enabled support for @ScopedProxy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@734 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 19:33:53 +00:00
Chris Beams ba21e9bdb6 + Moved @Bean into base package, next to @Configuration
+ Removed .ext package
+ Further reduced visibility of types wherever possible
+ Eliminated package cycles


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@733 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 07:18:42 +00:00
Chris Beams 466f4f9536 Simplifying packaging
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@732 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 07:11:01 +00:00
Chris Beams fa0cb66705 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@731 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 07:05:38 +00:00
Chris Beams 9794314935 + Renamed Scopes -> StandardScopes
+ Renamed ConfigurationPostProcessor -> ConfigurationClassPostProcessor
+ JavaDoc and polish for AbstractConfigurationClassProcessor


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@730 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 06:55:53 +00:00
Chris Beams cf76fab038 + Added .clover to svn:ignore
+ Updated ivy Spring dependencies from 2.5.6 -> latest.integration
+ Added src/test/resources directory to appease Spring Build


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@729 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 03:27:12 +00:00
Chris Beams 376290468c + Fleshed out, documented, tested and polished the ConfigurationPostProcessor implementation
+ Removed @FactoryMethod indirection and extension point in favor of direct processing of @Bean annotations


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@728 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 03:12:53 +00:00
Chris Beams 348f5e57c0 Initial work to ensure CGLIB classes are not eagerly loaded (CGLIB should only be required if Spring users wish to process @Configuration classes)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@727 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-06 00:38:30 +00:00
Chris Beams 62c9d11e51 eliminated dead code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@726 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-05 20:22:06 +00:00