Commit Graph

266 Commits

Author SHA1 Message Date
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
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
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
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
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
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
cd50e45645 + Moving .config.java module -> .context 2009-03-23 04:48:04 +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
Juergen Hoeller
160249c012 generified FactoryBeans and further Java 5 code style updates 2009-02-25 00:34:22 +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
08dd18df58 revised expression parser API design 2009-02-12 23:03:58 +00:00
Juergen Hoeller
777a104d48 added @Async annotation, AsyncExecutionInterceptor, AsyncAnnotationAdvisor 2009-02-10 11:24:05 +00:00
Juergen Hoeller
5a04ed502b 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) 2009-02-09 22:06:07 +00:00
Juergen Hoeller
60392d6e74 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 2009-02-09 18:26:30 +00:00
Juergen Hoeller
7e4fb09369 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 2009-02-05 22:45:35 +00:00
Arjen Poutsma
16843b3a07 Fixed usage of wrong TestBean package. 2009-01-23 11:57:58 +00:00
Arjen Poutsma
ad2cc34b79 SPR-2581: Provide out of the box implementation of the thread scope 2009-01-22 15:41:29 +00:00
Arjen Poutsma
bf9ffe2d67 javadoc 2009-01-22 12:02:30 +00:00
Arjen Poutsma
becea6115e SPR-3360: util:property-path like functionality for the p-namespace 2009-01-22 12:01:25 +00:00
Chris Beams
3da373eeaf moved XmlBeanFactoryTests and attendant XML from .testsuite -> .context 2008-12-20 08:19:32 +00:00
Chris Beams
d083432478 refactored .context module's .beans.factory and .context.access tests in preparation for moving .beans.factory.xml tests from .testsuite -> .context 2008-12-20 07:22:07 +00:00
Chris Beams
7a0d9c7533 moved ApplicationContext-dependent .beans.factory.xml.* tests from .testsuite -> .context 2008-12-19 22:33:26 +00:00
Chris Beams
be53a80657 moved ApplicationContext-dependent .aop.* unit tests from .testsuite -> .context
in the process, identified and refactored two genuine integration tests (AopNamespaceHandlerScopeIntegrationTests, AdvisorAutoProxyCreatorIntegrationTests), which will remain in .testsuite due to broad-ranging dependencies
2008-12-19 21:58:42 +00:00
Chris Beams
d7a9d7c8e6 + refactoring .testsuite .aop.aspectj tests in preparation for migration to .context
+ updated all ivy.xml files to depend on AspectJ 1.6.2
2008-12-19 14:56:09 +00:00
Chris Beams
5b9da399c6 moving .aop.aspectj.* unit tests from .testsuite -> .context 2008-12-19 03:45:30 +00:00
Chris Beams
ea68d343fa eliminated svn:externals in favor of localized copies of shared artifacts 2008-12-18 21:27:18 +00:00
Chris Beams
579280d7bf Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles 2008-12-18 14:50:25 +00:00
Chris Beams
93e30a4fc5 moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet 2008-12-17 18:45:41 +00:00
Chris Beams
3e8c013df3 moving .scripting.* unit tests from .testsuite -> .context 2008-12-17 06:48:52 +00:00
Chris Beams
31f5961dce moving remoting.*, scheduling.* unit tests from .testsuite -> .context, .web 2008-12-17 06:13:28 +00:00
Chris Beams
10be5f08a5 moving .jndi, .mail and .mock.web unit tests from .testsuite to .context, .context.support, and .test bundles respectively 2008-12-17 02:20:01 +00:00
Chris Beams
72854849d9 moving jmx.* unit tests from .testsuite -> .context 2008-12-17 00:39:28 +00:00
Chris Beams
f11bc4712c moving instrument.classloading.* unit tests from .testsuite -> .context 2008-12-16 20:07:32 +00:00
Chris Beams
2952609672 finished moving .ejb.* unit tests from .testsuite -> .context 2008-12-16 19:19:41 +00:00
Chris Beams
0b0c8f1506 moving .ejb.access unit tests from .testsuite -> .context 2008-12-16 18:28:19 +00:00
Chris Beams
d72897b6fa moving unit tests from .testsuite -> .context 2008-12-16 05:35:23 +00:00
Chris Beams
4526501559 moving unit tests from .testsuite -> .beans and .context 2008-12-16 01:08:43 +00:00
Chris Beams
b8a8ceae91 moving unit tests from .testsuite -> .context
moved ContextSingletonBeanFactoryLocatorTests -> .context
pulled SingletonBeanFactoryLocatorTests and friends into .context via externals for use by the above
2008-12-15 18:49:11 +00:00
Chris Beams
2359942dd7 moving unit tests from .testsuite -> .context 2008-12-14 21:46:55 +00:00
Chris Beams
8b2cf634a3 moving unit tests from .testsuite -> .context 2008-12-14 20:13:56 +00:00