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.