incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r911431 - /incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
Date Thu, 18 Feb 2010 15:10:48 GMT
Author: gnodet
Date: Thu Feb 18 15:10:48 2010
New Revision: 911431

URL: http://svn.apache.org/viewvc?rev=911431&view=rev
Log:
ARIES-182: pass the constraints to resolver

Modified:
    incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java

Modified: incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java?rev=911431&r1=911430&r2=911431&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
(original)
+++ incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java
Thu Feb 18 15:10:48 2010
@@ -212,7 +212,7 @@
 
   public AriesApplication resolve(AriesApplication originalApp, ResolveConstraint... constraints)
throws ResolverException {
     AriesApplicationImpl application = new AriesApplicationImpl(originalApp.getApplicationMetadata(),
originalApp.getBundleInfo(), _localPlatform);
-    Set<BundleInfo> additionalBundlesRequired = _resolver.resolve(application);
+    Set<BundleInfo> additionalBundlesRequired = _resolver.resolve(application, constraints);
     DeploymentMetadata deploymentMetadata = _deploymentMetadataFactory.createDeploymentMetadata(application,
additionalBundlesRequired);
     application.setDeploymentMetadata(deploymentMetadata);
     // Store a reference to any modified bundles



Mime
View raw message