[jboss-dev-forums] [JBoss Microcontainer Development] - Re: JBAS-8937; dup component install
Ales Justin
do-not-reply at jboss.com
Wed Mar 16 05:59:03 EDT 2011
Ales Justin [http://community.jboss.org/people/alesj] created the discussion
"Re: JBAS-8937; dup component install"
To view the discussion, visit: http://community.jboss.org/message/593449#593449
--------------------------------------------------------------
> I would expect this to fail as well:
> acme.jar
> * META-INF
> ** foo-jboss-beans.xml
> ** foo-service.xml
This actually works due to the fact, that parent deployment unit actually holds "grouped" metadata.
e.g. KernelDeployment for BMDs and ServiceDeployment for SMDs
Hence no BMD or SMD attachment is found in parent dpeloyment unit.
> Where we would pick top deployment's SMD or BMD attachment in which ever component deployer would be the one to see 2 component deployment units.
> It would pick up the parent's attachement which would be also processed as part of component attachment.
What will make it fail is if we directly put BMD or SMD into deployment unit, which is then the parent of component deployment unit.
Which is what RARDeployer and AppNamingDeployer do.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/593449#593449]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110316/67594f99/attachment.html
More information about the jboss-dev-forums
mailing list