From 2a73f2e3cc8324450d564578e804a31ca6003e10 Mon Sep 17 00:00:00 2001 From: antelder Date: Sun, 23 May 2010 09:08:56 +0000 Subject: Tidy up comments git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947388 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/something/impl/DeployedComposite.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sca-java-2.x') diff --git a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/DeployedComposite.java b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/DeployedComposite.java index 226d3c2b87..8f6f310477 100644 --- a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/DeployedComposite.java +++ b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/DeployedComposite.java @@ -110,8 +110,7 @@ public class DeployedComposite { this.uri = getCompositeURI(c, ic); } - - + public void unDeploy() throws ActivationException { compositeActivator.stop(compositeContext, domainComposite); compositeActivator.deactivate(domainComposite); @@ -123,6 +122,7 @@ public class DeployedComposite { /** * Deployable composites don't have the uri set so get it from the artifact in the contribution + * // TODO: fix the Tuscany code so this uri is correctly set and this method isn't needed */ protected String getCompositeURI(Composite c, InstalledContribution ic) { for (Artifact a : ic.getContribution().getArtifacts()) { @@ -139,6 +139,9 @@ public class DeployedComposite { throw new IllegalStateException("can't determine composte uri"); } + /** + * // TODO: this method should be on the Monitor class + */ protected void analyzeProblems(Monitor monitor) throws Throwable { try { for (Problem problem : monitor.getProblems()) { @@ -151,7 +154,6 @@ public class DeployedComposite { } } } finally { - // FIXME: Clear problems so that the monitor is clean again monitor.reset(); } } -- cgit v1.2.3