summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-02 22:35:40 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-02 22:35:40 +0000
commit134b64e2c0de3fde79dae0eb81fe26ba074e0e3e (patch)
treec71eed906288df9f002bb47c66dc03ef05b29a1d /branches/sca-java-1.x/modules
parent8dc96644f69ab8efd45f19b1478dceedb9b6b0a1 (diff)
TUSCANY-3062 - another work round to get resolution doing something in the domain manager. Still needs work.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@781193 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules')
-rw-r--r--branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java b/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
index 029c8c746b..3dac9b535e 100644
--- a/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
+++ b/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
@@ -195,6 +195,9 @@ public class DeployableCompositeCollectionImpl implements ItemCollection, LocalI
QName qname = compositeQName(key);
for (Composite deployable: contribution.getDeployables()) {
if (qname.equals(deployable.getName())) {
+ // find the deployable composite
+ deployable = contribution.getModelResolver().resolveModel(Composite.class, deployable);
+
if (deployable.isUnresolved()) {
throw new NotFoundException(key);
}