Announcement Announcement Module
Collapse
No announcement yet.
Best way to turn all my classes into beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best way to turn all my classes into beans

    Hi there, what I would like to do in my project is to have all my classes automatically declared as beans, as in an alternative to put the @Component annotation or declaring them in a xml file.

    I was thinking in creating a BeanFactoryAware bean to iterate through my classes, creating a beanDefinition for each of them.

    Thanks
    Last edited by icetbr; Nov 17th, 2007, 04:08 PM.
Working...
X