[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: GenericBeanFactory and install methods
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Apr 9 03:49:01 EDT 2008
Thinking about this more, talking with Carlo, what we really need is a MetaGenericBeanFactory:
| interface MetaBeanFactory extends BeanFactory
| {
| BeanMetaData createBeanMetaData();
| }
|
whose contract is to create the BeanMetaData for the bean and then install that into the mc when createBean() is called. This way create lifecycle events like PostConstruct can be delegated to the mc as well as the install callbacks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142598#4142598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142598
More information about the jboss-dev-forums
mailing list