Commit Graph

113 Commits

Author SHA1 Message Date
Juergen Hoeller
9baf9cdc2f reintroduced "removeApplicationListener" method as well 2009-04-12 20:59:52 +00:00
Juergen Hoeller
73dd6c28a3 reintroduced "removeAllListeners()" method since Spring DM uses it 2009-04-09 18:18:54 +00:00
Juergen Hoeller
859497b171 @Resource names may use ${...} placeholders (SPR-5656) 2009-04-09 09:14:06 +00:00
Chris Beams
d08d73f274 Renamed ConfigurationPostProcessorTests -> ConfigurationClassPostProcessorTests 2009-04-06 21:29:30 +00:00
Chris Beams
254bf7e403 Fixed SPR-5655 - dm Server issues with ConfigurationClassPostProcessor attempting to read .class files with ASM with incorrect class loader 2009-04-06 21:23:37 +00:00
Andy Clement
4c5854d017 objects flowing around in expression evaluation are now TypedValue's - these carry generics info, used for conversions. 2009-04-03 23:39:14 +00:00
Andy Clement
959cc95c3f design change - no longer surfacing typeDescriptor through property accessor. conversion done internally in property write() code 2009-04-01 23:27:49 +00:00
Andy Clement
00018e511d implement new interface method 2009-04-01 21:58:24 +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
Juergen Hoeller
aa8bd6313b added "unregisterManagedResource" method to MBeanExporter/MBeanExportOperations (SPR-5517) 2009-03-31 14:28:14 +00:00
Chris Beams
1b13d8fadf Added test using custom properties file with util:properties and dereferenced with @Value("#{...}") 2009-03-30 17:17:44 +00:00
Chris Beams
cebc85067a polishing @Configuration tests 2009-03-30 16:02:04 +00:00
Chris Beams
cc713ad524 RESOLVED - issue SPR-5600: Make naming of @Configuration class processing-related artifacts consistent 2009-03-30 15:26:21 +00:00
Chris Beams
68051ec72b Updated BeanMethodTests to reflect change from IllegalArgumentException -> IllegalStateException 2009-03-28 22:29:28 +00:00
Chris Beams
69a762e86a resolved:
+ Provide @Primary annotation (SPR-5590)
+ Provide @Lazy annotation (SPR-5591)
+ Test @Bean initMethod/destroyMethod functionality (SPR-5592)
+ Test @Bean dependsOn functionality (SPR-5593)
2009-03-28 22:21:50 +00:00
Juergen Hoeller
82fd947712 polishing 2009-03-27 17:41:03 +00:00
Chris Beams
aee7f1ce53 RESOLVED - issue SPR-5596: Test @Autowired @Configuration class constructors 2009-03-27 05:36:29 +00:00
Chris Beams
1697932c57 consolidated context.annotation.support -> context.annotation 2009-03-27 04:57:13 +00:00
Chris Beams
2c0c523d70 don't assert that CGLIB must be present unless there is at least one @Configuration class found 2009-03-27 03:10:41 +00:00
Chris Beams
af058e599d fixing tests in .test package that were failing due to missing CGLIB dependency 2009-03-27 02:10:41 +00:00
Chris Beams
6698ed8420 IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into <context:component-scan/> and <context:annotation-config/> through AnnotationConfigUtils#registerAnnotationConfigProcessors 2009-03-26 19:52:50 +00:00
Chris Beams
77b2c4e199 SPR-5615 - Improved error message: s/is no interface/is not an interface 2009-03-26 13:56:14 +00:00
Juergen Hoeller
40b06b5f19 fixed broken "setManagedInterfaces" interface assertion (SPR-5615) 2009-03-26 13:49:21 +00:00
Chris Beams
e5f4b4937c 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. 2009-03-25 06:01:17 +00:00
Chris Beams
2db0f122c1 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)
2009-03-25 03:14:35 +00:00
Juergen Hoeller
6ca253e3e6 RmiServiceExporter and RmiRegistryFactoryBean synchronize registry lookup/creation 2009-03-24 00:05:21 +00:00
Juergen Hoeller
dab23a71f9 polishing 2009-03-23 14:39:25 +00:00
Juergen Hoeller
df99929e21 added TaskScheduler interface and Trigger abstraction; added ConcurrentTaskScheduler and ThreadPoolTaskScheduler; added CommonJ TimerManagerTaskScheduler; added CronTrigger implementation for cron expression support 2009-03-23 14:38:55 +00:00
Juergen Hoeller
26f0671250 TimerTaskExecutor creates non-daemon Timer and uses bean name as default Timer name 2009-03-23 14:35:16 +00:00
Juergen Hoeller
d42e24a752 polishing 2009-03-23 14:15:47 +00:00
Juergen Hoeller
4344832a47 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
2009-03-23 14:13:41 +00:00
Chris Beams
147709fa9e Tweaks to package-info.java files 2009-03-23 07:36:44 +00:00
Chris Beams
22b25e0d7b Consolidated Util and MutableAnnotationUtils classes into existing AsmUtils 2009-03-23 07:01:01 +00:00
Chris Beams
7f96f57375 polishing 2009-03-23 06:23:01 +00:00
Chris Beams
1284bd585f + JavaDoc updates
+ added objectweb.asm back to .classpath to satisfy transitive need from groovy tests
+ package.html -> package-info.java
2009-03-23 05:28:58 +00:00
Chris Beams
cd50e45645 + Moving .config.java module -> .context 2009-03-23 04:48:04 +00:00
Chris Beams
3ae3de19a9 + 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
2009-03-21 19:00:57 +00:00
Mark Pollack
13dfa11def Add support for @ScopedProxy for factory beans using the @FactoryBean annotation within a @Component
Add missing unit tests
2009-03-13 18:14:40 +00:00
Mark Pollack
fc9c3009fe Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component 2009-03-07 07:42:25 +00:00
Chris Beams
faffd98621 Javadoc polish & pruning dead code 2009-03-07 05:49:12 +00:00
Chris Beams
3231f458c8 + Added 'proxyMode' attribute to @Scope annotation
+ Eliminated @ScopedProxy in favor of @Scope(proxyMode=NO|INTERFACES|TARGET_CLASS)
2009-03-07 04:54:31 +00:00
Chris Beams
9735c8024c @Scope is now allowed on methods (for use in conjunction with @Bean) 2009-03-07 03:37:10 +00:00
Juergen Hoeller
160249c012 generified FactoryBeans and further Java 5 code style updates 2009-02-25 00:34:22 +00:00
Juergen Hoeller
882c195221 polishing 2009-02-24 00:27:36 +00:00
Juergen Hoeller
d3d0111439 polishing 2009-02-18 23:51:03 +00:00
Juergen Hoeller
43caa57296 optimized OrderComparator usage 2009-02-17 18:19:57 +00:00
Juergen Hoeller
9871e94cad SimpleAliasRegistry's "getAliases" method returns transitive aliases now; @Qualifier value matching takes chained aliases of target beans into account as well 2009-02-17 18:18:33 +00:00
Juergen Hoeller
57874a6050 SmartApplicationListener interface supports source type checking; SimpleApplicationEventMulticaster caches information about event/source matches 2009-02-17 17:46:14 +00:00
Juergen Hoeller
5a09a2d642 polishing 2009-02-16 01:43:49 +00:00
Juergen Hoeller
d56419dad9 default post-processors use their default component order now 2009-02-16 01:43:24 +00:00