Commit Graph

121 Commits

Author SHA1 Message Date
Chris Beams d96ebc4385 consolidated context.annotation.support -> context.annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@842 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 04:57:13 +00:00
Chris Beams 8af119314a don't assert that CGLIB must be present unless there is at least one @Configuration class found
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@841 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 03:10:41 +00:00
Chris Beams 6f767bb3da fixing tests in .test package that were failing due to missing CGLIB dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@840 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 02:10:41 +00:00
Juergen Hoeller 81d1315cd1 updated to JRuby 1.2 (remaining compatible with JRuby 1.1 and above)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@835 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 00:01:41 +00:00
Chris Beams f1a5d20a6c IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into <context:component-scan/> and <context:annotation-config/> through AnnotationConfigUtils#registerAnnotationConfigProcessors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@832 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 19:52:50 +00:00
Chris Beams e39fc90fac SPR-5615 - Improved error message: s/is no interface/is not an interface
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@829 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 13:56:14 +00:00
Juergen Hoeller 40f9643c51 fixed broken "setManagedInterfaces" interface assertion (SPR-5615)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@827 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 13:49:21 +00:00
Mark Pollack f39cb005f6 SPR-5385, SPR-5301 - initial pass completed of POMs for maven central repository upload. N.B. Can not build spring with these POMs.
Cleanup remains to meet maven central metadata requirements

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@816 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 08:06:34 +00:00
Chris Beams 41a4353644 Re-adding ConfigurationPostProcessorTests after its brief removal in r814. @Ignore-ing the testCglibClassesAreLoadedJustInTimeForEnhancement() method as it turns out this was one of the culprits in the recent build breakage. The classloader hacking causes subtle downstream effects, breaking unrelated tests. The test method is still useful, but should only be run on a manual basis to ensure CGLIB is not prematurely classloaded, and should not be run as part of the automated build.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@815 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 06:01:17 +00:00
Chris Beams 4776108767 fixed two build-breaking issues:
+ reverted ClassMetadataReadingVisitor to revision 794
+ eliminated ConfigurationPostProcessorTests until further investigation determines why it causes downstream tests to fail (such as the seemingly unrelated ClassPathXmlApplicationContextTests)


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@814 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 03:14:35 +00:00
Mark Pollack 4f514aac1e SPR-5385, SPR-5301 - partial work committed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@811 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 05:56:56 +00:00
Juergen Hoeller 4ef6b776db RmiServiceExporter and RmiRegistryFactoryBean synchronize registry lookup/creation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@810 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 00:05:21 +00:00
Juergen Hoeller 3c71a0b81e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@803 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:39:25 +00:00
Juergen Hoeller 118cf8b4c2 added TaskScheduler interface and Trigger abstraction; added ConcurrentTaskScheduler and ThreadPoolTaskScheduler; added CommonJ TimerManagerTaskScheduler; added CronTrigger implementation for cron expression support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@802 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:38:55 +00:00
Juergen Hoeller 68d67d83de TimerTaskExecutor creates non-daemon Timer and uses bean name as default Timer name
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@801 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:35:16 +00:00
Juergen Hoeller 14b7c182d0 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@800 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:15:47 +00:00
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
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 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 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
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
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 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
Juergen Hoeller 65f0eb6db2 updated compile and test dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@694 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 13:42:45 +00:00
Juergen Hoeller d6438bf151 added Commons DBCP as test dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@690 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 10:08:50 +00:00
Juergen Hoeller f6c70c07c5 generified FactoryBeans and further Java 5 code style updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 00:34:22 +00:00
Juergen Hoeller 5b1320432b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@675 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 00:27:36 +00:00
Juergen Hoeller 18e805eac2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@652 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-18 23:51:03 +00:00
Juergen Hoeller 5fa3d7ae48 optimized OrderComparator usage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@649 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 18:19:57 +00:00
Juergen Hoeller 1d82467565 SimpleAliasRegistry's "getAliases" method returns transitive aliases now; @Qualifier value matching takes chained aliases of target beans into account as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 18:18:33 +00:00
Juergen Hoeller 6ad7cabd2c SmartApplicationListener interface supports source type checking; SimpleApplicationEventMulticaster caches information about event/source matches
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@646 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 17:46:14 +00:00
Juergen Hoeller b9f25bc30b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:49 +00:00
Juergen Hoeller c6b1150adc default post-processors use their default component order now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@642 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:24 +00:00
Juergen Hoeller 0e27639083 refined OSGi version constraints for "javax.annotation" and "junit.framework"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@621 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:36:56 +00:00
Juergen Hoeller 793bf07941 revised expression parser API design
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@619 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:03:58 +00:00
Juergen Hoeller 0f0f2d37ba made SpringBeanAutowiringInterceptor callback signature compatible with WebSphere
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@617 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 18:05:37 +00:00
Juergen Hoeller 45632781a2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@616 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 17:41:46 +00:00
Juergen Hoeller 3e9e9e2267 added @Async annotation, AsyncExecutionInterceptor, AsyncAnnotationAdvisor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-10 11:24:05 +00:00
Juergen Hoeller 699b370990 registered plain singletons will be fully matched according to their qualifiers; "systemProperties" bean is not considered a default match for type Properties anymore (SPR-5355)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@611 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 22:06:07 +00:00
Juergen Hoeller 47f3b9881b ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@607 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:26:30 +00:00
Juergen Hoeller a3a4171c41 added "Future submit(Runnable)" and "Future submit(Callable)" to AsyncTaskExecutor; SchedulingTaskExecutor interface extends AsyncTaskExecutor; added ExecutorServiceAdapter class as a standard wrapper for a Spring TaskExecutor; added ThreadPoolExecutorFactoryBean; reduced backport-concurrent support to TaskExecutor adapters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 22:45:35 +00:00
Juergen Hoeller 4050980b80 all "taskExecutor" bean properties now accept any "java.util.concurrent.Executor"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@598 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:18:10 +00:00
Juergen Hoeller d4888bfebe Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:04:13 +00:00
Juergen Hoeller cb13c1c042 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@586 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-25 23:29:45 +00:00
Arjen Poutsma b62e6238d1 Fixed usage of wrong TestBean package.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@577 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 11:57:58 +00:00