summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-impl
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/node-impl')
-rw-r--r--java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
index 8c4ebabe79..e81e244458 100644
--- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
+++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
@@ -318,8 +318,7 @@ public class NodeFactoryImpl extends NodeFactory {
attached = true;
}
contribution.getDeployables().add(composite);
- // REVIEW: Is it needed?
- contribution.getModelResolver().addModel(composite);
+
return attached;
}
@@ -541,6 +540,7 @@ public class NodeFactoryImpl extends NodeFactory {
for (Composite composite : contribution.getDeployables()) {
// Include the node composite in the top-level composite
tempComposite.getIncludes().add(composite);
+ logger.log(Level.INFO, "Adding composite: " + composite.getName() + " to domain");
}
}