-
Feb 17th, 2011, 12:20 AM
#1
javaconfig + beanClass in BeanDefinition
I am using java config to configure spring beans. I noticed that all beans created with @Bean annotation have their beanClass field set to null in BeanDefinition. I looked at the code and beanClass is set only for @Configuration components in ConfigurationClassPostProcessor.
Some BeanfactoryPostProcessor implementations depend on beanClass field to process custom annotations.
How can I get around this?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules