diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-23 09:08:56 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-23 09:08:56 +0000 |
commit | 2a73f2e3cc8324450d564578e804a31ca6003e10 (patch) | |
tree | 87126051ffc07d6f339a1c91898ccf94bad28885 | |
parent | eb020400c447f4dae47dd82385ee9b3eceef515a (diff) |
Tidy up comments
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947388 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/DeployedComposite.java | 8 |
1 files changed, 5 insertions, 3 deletions
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();
}
}
|