felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r422207 - /incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java
Date Sat, 15 Jul 2006 12:26:44 GMT
Author: rickhall
Date: Sat Jul 15 05:26:44 2006
New Revision: 422207

URL: http://svn.apache.org/viewvc?rev=422207&view=rev
Log:
Fixed a bug in the URL Handlers service tracker, which was not paying
attention to service MODIFIED events.

Modified:
    incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java

Modified: incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java?rev=422207&r1=422206&r2=422207&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java
(original)
+++ incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java
Sat Jul 15 05:26:44 2006
@@ -58,7 +58,8 @@
                 public void serviceChanged(ServiceEvent event)
                 {
                     ServiceReference eventRef = event.getServiceReference();
-                    if (event.getType() == ServiceEvent.REGISTERED)
+                    if ((event.getType() == ServiceEvent.REGISTERED) ||
+                        (event.getType() == ServiceEvent.MODIFIED))
                     {
                         synchronized (URLHandlersServiceTracker.this)
                         {



Mime
View raw message