incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r956626 - /incubator/aries/trunk/samples/goat/goat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java
Date Mon, 21 Jun 2010 15:57:02 GMT
Author: zoe
Date: Mon Jun 21 15:57:02 2010
New Revision: 956626

URL: http://svn.apache.org/viewvc?rev=956626&view=rev
Log:
ARIES-319 Part 1 of fix for component update

Modified:
    incubator/aries/trunk/samples/goat/goat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java

Modified: incubator/aries/trunk/samples/goat/goat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/goat/goat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java?rev=956626&r1=956625&r2=956626&view=diff
==============================================================================
--- incubator/aries/trunk/samples/goat/goat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java
(original)
+++ incubator/aries/trunk/samples/goat/goat-bundlecontext-modelprovider/src/main/java/org/apache/aries/samples/goat/bundlecontextmodel/BundleContextInfoProvider.java
Mon Jun 21 15:57:02 2010
@@ -148,10 +148,11 @@ public class BundleContextInfoProvider i
 
 
 	public void bundleChanged(BundleEvent arg0) {
-		long id = arg0.getBundle().getBundleId();
+		String id = getKeyForBundle(arg0.getBundle());
 		if(biCache.containsKey(id)){
 			biCache.remove(id);
-		}		
+		}
+
 		ComponentInfo bi = getComponentForId(getKeyForBundle(arg0.getBundle()));
 		
 		for(ComponentInfoListener bil : clisteners){



Mime
View raw message