Instrumenting runtime classes with toString() to facilitate debuging

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@672978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
lresende 2008-07-01 02:58:15 +00:00
commit a3c2a9e319
3 changed files with 11 additions and 0 deletions

View file

@ -103,4 +103,8 @@ public class RuntimeComponentImpl extends ComponentImpl implements RuntimeCompon
public void setModelResolver(ModelResolver modelResolver) {
this.modelResolver = modelResolver;
}
public String toString() {
return getName();
}
}

View file

@ -136,4 +136,7 @@ public class RuntimeComponentReferenceImpl extends ComponentReferenceImpl implem
return policyProviders.get(binding);
}
public String toString() {
return getName();
}
}

View file

@ -155,4 +155,8 @@ public class RuntimeComponentServiceImpl extends ComponentServiceImpl implements
public List<PolicyProvider> getPolicyProviders(Binding binding) {
return policyProviders.get(binding);
}
public String toString() {
return getName();
}
}