-
Dec 31st, 2009, 08:38 AM
#1
autowire beans from factory-method or postconstruts
Hi,
i have a factory and factory-method to generate a bean (@Component). Depending on a configuaration (property file), i need to return a @Component bean from the factory-method (or may be a similar requirement in postconstruct).
I can not use BeanFactoryUtil to get the bean as the context is not initialized so early. SO what are the options left ? Can someone guide me here ..
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