[jboss-dev-forums] [Design of JBoss Deployment Framework] - Re: Scoping of components while registering as MBeans
jaikiran
do-not-reply at jboss.com
Mon Apr 27 23:37:42 EDT 2009
"adrian at jboss.org" wrote :
| The component name represents a unique name within the MC.
Any specific reason why this is so? From what i read in the MC docs http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/ch22s04.html, i was under the impression that components are scoped within deployment units:
"MC docs" wrote : Components are never considered top-level deployments
Also, since the components are added/accessed within a DeploymentUnit (based on the DU.getComponent/DU.addComponent APIs), i thought the Deployers were responsible for ensuring that the component name is unique within that deployment unit, without having to worry about the uniqueness across deployment units.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227117#4227117
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227117
More information about the jboss-dev-forums
mailing list