[jboss-dev-forums] [Design the new POJO MicroContainer] - BeanMetaDataBuilder and deprecated KernelDeployment.setBeans

scott.stark@jboss.org do-not-reply at jboss.com
Fri Jul 11 16:12:57 EDT 2008


There is a bit of a mismatch with the migration to the BeanMetaDataFactory as the preferred KernelDeployment approach to describing the beans in the deployment and BeanMetaDataBuilder only providing access to a BeanMetaData instance. One either has to test whether the resulting BeanMetaData is a BeanMetaDataFactory (and for the default BeanMetaDataBuilder which returns an AbstractBeanMetaData it is), or use the deprecated KernelDeployment.setBeans. Can we add a way to get hold of a BeanMetaDataFactory from the BeanMetaDataBuilder to avoid this?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163953#4163953

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163953



More information about the jboss-dev-forums mailing list