Add @ComponentScan annotation [SPR-7194] #11848
Labels
has: votes-jira
Issues migrated from JIRA with more than 10 votes at the time of import
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Eric Sirianni opened SPR-7194 and commented
It would be useful to have the
@ComponentScan
from JavaConfig in Spring core to enable programmatic component scanning. The workaround of using AnnotationConfigWebApplicationContext and setting "init-param" of "contextConfigLocation" is OK, but not a great long-term solution.The referenced thread talks about porting some of the features of JavaConfig that didn't make it into Spring 3.0.
So hopefully the use-case is well appreciated - I'm just filing this bug for tracking purposes.
Affects: 3.0.2
Reference URL: http://forum.springsource.org/showthread.php?t=80761
Issue Links:
@ComponentScan
13 votes, 9 watchers
The text was updated successfully, but these errors were encountered: