Go to file
Chris Beams 48836e2ebb Allow parameters in FactoryBean-returning @Bean methods
Prior to this change, an assumption was made in
AbstractAutowireCapableBeanFactory that any factory-method would have
zero parameters.  This may not be the case in @Bean methods.

We now look for the factory-method by name in a more flexible fashion
that accomodates the possibility of method parameters.

There remains at least one edge cases here where things could still fail,
for example a @Configuration class could have two FactoryBean-returning
methods of the same name, but each with different generic FactoryBean
types and different parameter lists. In this case, the implementation
may infer and return the wrong object type, as it currently returns
the first match for the given factory-method name.  The complexity cost
of ensuring that this never happens is not likely worth the trouble
given the very low likelihood of such an arrangement.

Issue: SPR-8762
2011-12-10 19:32:02 +00:00
build-spring-framework SPR-8898 Allow match by trailing slash in RequestMappingHandlerMapping. 2011-12-08 03:38:50 +00:00
org.springframework.aop Polish .aop copy of SpringConfiguredBDP 2011-11-28 06:57:04 +00:00
org.springframework.asm Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
org.springframework.aspects + add cache aspectj aspect 2011-12-08 13:20:01 +00:00
org.springframework.beans Allow parameters in FactoryBean-returning @Bean methods 2011-12-10 19:32:02 +00:00
org.springframework.context Allow parameters in FactoryBean-returning @Bean methods 2011-12-10 19:32:02 +00:00
org.springframework.context.support Revert accidental changes in Eclipse/pom metadata 2011-12-09 13:08:37 +00:00
org.springframework.core Allow parameters in FactoryBean-returning @Bean methods 2011-12-10 19:32:02 +00:00
org.springframework.expression polishing 2011-11-28 18:38:26 +00:00
org.springframework.instrument Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.instrument.tomcat Include license.txt and notice.txt in module JARs 2011-02-09 06:56:40 +00:00
org.springframework.integration-tests Introduce @EnableCaching 2011-11-16 04:21:21 +00:00
org.springframework.jdbc Add Apache license header where missing in src/main 2011-11-16 18:23:56 +00:00
org.springframework.jms Revert accidental changes in Eclipse/pom metadata 2011-12-09 13:08:37 +00:00
org.springframework.orm used specific SLF4J versions for running the test suites of individual modules (fixing the Hibernate Validator 4.2 upgrade) 2011-12-09 17:53:29 +00:00
org.springframework.oxm SPR-8349 - Ability to specify ResourceResolver property for SchemaFactory in Jaxb2Marshaller 2011-12-07 00:56:03 +00:00
org.springframework.spring-library Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
org.springframework.spring-parent Fix JUnit version in spring-parent pom 2011-11-16 18:23:58 +00:00
org.springframework.test used specific SLF4J versions for running the test suites of individual modules (fixing the Hibernate Validator 4.2 upgrade) 2011-12-09 17:53:29 +00:00
org.springframework.transaction fixed assertion message 2011-12-09 16:01:06 +00:00
org.springframework.web added MethodValidationInterceptor/PostProcessor for Hibernate Validator 4.2 based method validation; renamed Spring's variant of @Valid to @Validated 2011-12-09 18:09:14 +00:00
org.springframework.web.portlet Portlet MVC annotation mapping allows for distributing action names across controllers (SPR-7685) 2011-12-05 21:20:27 +00:00
org.springframework.web.servlet added MethodValidationInterceptor/PostProcessor for Hibernate Validator 4.2 based method validation; renamed Spring's variant of @Valid to @Validated 2011-12-09 18:09:14 +00:00
org.springframework.web.struts [SPR-8222] Upgraded to JUnit 4.9. 2011-08-30 13:16:12 +00:00
spring-framework-reference Remove unnecessary mentions of aspectjrt/aspectjweaver 2011-12-08 13:46:47 +00:00
.gitignore Add ignorable log file to .gitignore 2011-06-05 21:01:37 +00:00
build.properties Reorganize and add comments to build.properties 2011-08-20 03:02:05 +00:00
build.versions used specific SLF4J versions for running the test suites of individual modules (fixing the Hibernate Validator 4.2 upgrade) 2011-12-09 17:53:29 +00:00
ci-build.properties adding properties file to simplify ant use in Bamboo CI build 2008-12-17 15:47:14 +00:00
eclipse-code-formatter.xml h2 embedded db support; updated formatting conventions not to auto-format javadoc; added hsqldb and h2 to jdbc maven pom as optional deps 2009-05-09 22:27:05 +00:00
spring-framework.ipr consistently use Unix line separator 2011-10-11 01:14:20 +00:00
spring-framework.psf Renamed org.springframework.instrument.classloading module to org.springframework.instrument.tomcat 2009-09-25 12:51:58 +00:00