diff options
Diffstat (limited to '')
-rw-r--r-- | java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/management/NodeManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/management/NodeManager.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/management/NodeManager.java index 1668619b48..5f44dda7d5 100644 --- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/management/NodeManager.java +++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/management/NodeManager.java @@ -53,12 +53,12 @@ public class NodeManager implements NodeManagerMBean { return name;
}
- public static ObjectName getName(Node node) throws MalformedObjectNameException {
+ private static ObjectName getName(NodeImpl node) throws MalformedObjectNameException {
String name =
- Node.class.getPackage().getName() + ":Type="
+ Node.class.getPackage().getName() + ":type="
+ Node.class.getSimpleName()
- + ",ID="
- + System.identityHashCode(node);
+ + ",uri="
+ + ObjectName.quote(node.getURI());
return ObjectName.getInstance(name);
}
|