The previous code in JBossEjbParsingDeployer.createMetaData had this useless code:
| // If there no JBossMetaData was created from a jboss.xml, create one
| if (metaData == null)
| {
| metaData = new JBossMetaData();
| JBossEnterpriseBeansMetaData jbBeans = new JBossEnterpriseBeansMetaData();
| metaData.setEnterpriseBeans(jbBeans);
| }
|
Is this taken care of in MergedJBossMetaDataDeployer?
Or this code needs additional:
| unit.getTransientManagedObjects().addAttachment(getOutput(), metaData);
|
That's what I added.
Or we can completely delete that piece?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109962#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...