The parsing multiple files has two parts:
1) Being able to parse n files into one piece of metatdata from one parsing deployer
This is so you can deploy something programmatically properly.
e.g. You pass EjbJarMetaData. The current parsing deployers will say,
ok I'm not going to reparse ejb-jar.xml but I will reparse jboss.xml
which is wrong
2) Being able to parse multiple files with the same suffix from META-INF.
e.g.
META-INF/a-beans.xml
META-INF/b-beans.xml
should create two KernelDeployment attachments (with the attachment names
as the metadata url).
But this requires the deployers further down the chain to understand it.
i.e. not use getAttachments(KernelDeployment.class) but use
getAllAttachments(KernelDeployment.class) and handle the multiple pieces
of configuration correctly.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139639#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...