diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-12 17:12:47 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-12 17:12:47 +0000 |
commit | 9d7b6dd3797cb9ca53fff5017fef0de4ca5d1a41 (patch) | |
tree | 3aa78452531b6b914c9bccd81e8ef2c609137591 /java/sca | |
parent | b1f86ffc30d0bd5946269a1bc6a0a25a9b4dbe6e (diff) |
Add location to toString() of ServiceDeclaration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r-- | java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java index 26ede88214..08b2ac2c3f 100644 --- a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java +++ b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java @@ -92,7 +92,8 @@ public class ContextClassLoaderServiceDiscoverer implements ServiceDiscoverer { @Override public String toString() { StringBuffer sb = new StringBuffer(); - sb.append("ClassLoader: ").append(classLoaderReference.get()); + sb.append("Location: ").append(url); + sb.append(" ClassLoader: ").append(classLoaderReference.get()); sb.append(" Attributes: ").append(attributes); return sb.toString(); } |