Correct, there can only be one BeanMetaData.class attachment in a unit. To have multiple
BeanMetaDatas you need to create a component deployment and add the attachment to it.
Its the org.jboss.deployers.spi.deployer.helpers.DefaultManagedObjectCreator that is
building the set of managed objects for a deployment, and it is just iterating over all
attachment names so I'm not sure why the unique name approach would not work.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234014#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...