Commit Graph
795 Commits
Author SHA1 Message Date
Juergen Hoeller cc21b308e2 qualifier annotations and @Value can be used at method level as well (applying to all parameters);
fixed EL evaluation of prepared constructor arguments for repeated prototype creation

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@799 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:13:41 +00:00
Juergen Hoeller 182acb9c87 fixed CachingMapDecorator to support garbage-collected weak references (again)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@798 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:34:51 +00:00
Juergen Hoeller aecc6b45df type variable cache uses weak values
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@797 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:32:03 +00:00
Juergen Hoeller e6618f050a added superfluous cast as a workaround for the Sun Javac compiler
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@796 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:30:00 +00:00
Juergen Hoeller 303f360d27 implement ASM ClassVisitor interface directly
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@795 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:29:29 +00:00
Juergen Hoeller 262e510b32 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@794 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:28:49 +00:00
Juergen Hoeller c35b5f8ef2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@793 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:20:18 +00:00
Juergen Hoeller 8251dff561 SessionAwareMessageListener supports generic declaration of concrete JMS Message type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@792 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:19:25 +00:00
Chris Beams 7e8c6e57cc Tweaks to package-info.java files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 07:36:44 +00:00
Chris Beams 5f9c23f04f Consolidated Util and MutableAnnotationUtils classes into existing AsmUtils
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@790 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 07:01:01 +00:00
Chris Beams 255c03a1d7 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@789 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 06:23:01 +00:00
Chris Beams 34116c57f9 + JavaDoc updates
+ added objectweb.asm back to .classpath to satisfy transitive need from groovy tests
+ package.html -> package-info.java


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@788 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 05:28:58 +00:00
Chris Beams 927f8039ca + Removed org.springframework.config.java module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@787 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:52:47 +00:00
Chris Beams 868ca2bb4a + Moving .config.java module -> .context
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@786 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:48:04 +00:00
Chris Beams 8fc0036591 + Pruned empty directories
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@785 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:25:20 +00:00
Chris Beams 2faef8d9d9 + Pruned empty directories
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@784 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:24:35 +00:00
Chris Beams e70b6ef6a4 + Repackaged src and test from .config.java.* -> .context.annotation.*
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@783 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:23:25 +00:00
Chris Beams e52702e9fe + Repackaging test codebase from .config.java.* -> .context.annotation.*
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@782 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:14:20 +00:00
Chris Beams 4473ca05d3 + Added isCglibClassName() to AopUtils for checking bean class names before classloading
+ Added tests for @Aspect support in @Configuration classes
+ Added tests for @Inherited @Configuration behavior


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@781 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 03:59:07 +00:00
Chris Beams e0c593f61c Made ConfigurationModel semantics explicit by having it extend LinkedHashSet<ConfigurationClass>
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@780 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-22 22:59:10 +00:00
Chris Beams 7cd96e4334 + Added tests for custom @Bean naming and aliasing
+ Eliminated BeanDefinitionRegistrar and BeanRegistrar types
+ Simplified ConfigurationEnhancer logic
+ Updated JavaDoc for ConfigurationModel and related classes
+ Updated JavaDoc for all ASM visitors


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@779 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-22 22:39:04 +00:00
Chris Beams 192260dbd6 + Added unit test for BeanMethod
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@778 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-22 02:38:44 +00:00
Chris Beams 41c1361c24 + Source attribution is now consistent across all registered Problems
+ Various pruning of dead code and polish


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@777 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-22 01:43:31 +00:00
Chris Beams 0cf9358bf4 Circular @Imports are now handled by registering a Problem (CircularImportProblem) as an error with the current ProblemReporter. This eliminates the need for CircularImportException and is a more tooling-friendly approach.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@776 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-21 21:43:44 +00:00
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