[jboss-dev-forums] [Design of JBoss Deployment Framework] - Re: Scoping of components while registering as MBeans
jaikiran
do-not-reply at jboss.com
Fri Apr 24 06:52:41 EDT 2009
This piece in org.jboss.deployers.structure.spi.helpers.ComponentDeploymentContext
public ObjectName getObjectName()
| {
| if (objectName == null)
| {
| String name = getName();
| name = name.replace("\"", """);
| String temp = "jboss.deployment:id=\"" + name + "\",type=Component";
| try
| {
| objectName = new ObjectName(temp);
| }
| catch (MalformedObjectNameException e)
| {
| throw new RuntimeException("Error creating object name: " + temp, e);
| }
| }
| return objectName;
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226587#4226587
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226587
More information about the jboss-dev-forums
mailing list