Announcement Announcement Module
Collapse
No announcement yet.
Using ComponentScan in Annotation based Config? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using ComponentScan in Annotation based Config?

    Hi All,

    I have been searching high and low for a way to add component scan to my annotation based configuration.

    http://forum.springsource.org/showthread.php?t=70748 shows an example of some guy using @ComponentScan but I cannot find this anywhere in Spring 3. It appears that it was part of the java config extnesion that has since been merged into Spring 3 but the @ComponentScan annotation is mysteriously absent.

    Any other way for me to accomplish this? I am at wits end here (for now I have been forced to just use xml config + @ImportResource to do the trick which feels somewhat against the grain).

  • #2
    Hi James,

    Take a look at this issue, especially my latest comment. https://issues.springframework.org/browse/SPR-7194

    You may also want to track https://jira.springframework.org/browse/SPR-7420.

    Cheers,

    - Chris

    Comment


    • #3
      Hi Chris,

      Thanks for the heads up. I'm definitely looking forward to the other features described in SPR-7420!

      Comment

      Working...
      X