tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r781193 - /tuscany/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
Date Tue, 02 Jun 2009 22:35:41 GMT
Author: slaws
Date: Tue Jun  2 22:35:40 2009
New Revision: 781193

URL: http://svn.apache.org/viewvc?rev=781193&view=rev
Log:
TUSCANY-3062 - another work round to get resolution doing something in the domain manager.
Still needs work. 

Modified:
    tuscany/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java

Modified: tuscany/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java?rev=781193&r1=781192&r2=781193&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/domain-manager/src/main/java/org/apache/tuscany/sca/domain/manager/impl/DeployableCompositeCollectionImpl.java
Tue Jun  2 22:35:40 2009
@@ -195,6 +195,9 @@
         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);
                 }



Mime
View raw message