| <bean bean="xxx">
| <property name="blah">
| <bean bean="yyy">
| ...
|
How to actually add this bean into KernelDeployment?
As I can see this is currently the only way we are setting BeanMD into KernelDeployment:
| AbstractKernelDeployment deployment = (AbstractKernelDeployment) parent;
| AbstractBeanMetaData bean = (AbstractBeanMetaData) child;
| List<BeanMetaDataFactory> beans = deployment.getBeanFactories();
| if (beans == null)
| {
| beans = new ArrayList<BeanMetaDataFactory>();
| deployment.setBeanFactories(beans);
| }
| beans.add(bean);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968345#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...