spring component scan for classes

Posted by awk on Stack Overflow See other posts from Stack Overflow or by awk
Published on 2009-10-07T13:49:36Z Indexed on 2010/04/19 0:03 UTC
Read the original article Hit count: 145

Filed under:

I want to scan all the classes in a package that that are subclasses of the particular class. Then I want to take these classes and for each of them instantiate a bean of same type, using the class as a property. Then I want to gather all these anonymous beans and put them into collection. Is it possible to configure spring context in XML like this? Thx

© Stack Overflow or respective owner

Related posts about spring