diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-02 22:35:40 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-02 22:35:40 +0000 |
commit | 134b64e2c0de3fde79dae0eb81fe26ba074e0e3e (patch) | |
tree | c71eed906288df9f002bb47c66dc03ef05b29a1d /branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl | |
parent | 8dc96644f69ab8efd45f19b1478dceedb9b6b0a1 (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/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl')
-rw-r--r-- | branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java | 3 |
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); } |