commit | b65951e8d0f60ca597e867c7f1a37d866151751d | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Sat Jul 15 12:26:44 2006 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Sat Jul 15 12:26:44 2006 +0000 |
tree | 6f1551c6100c2ded81bbfe27832a26ca189545b0 | |
parent | d95fb4fef6d33ea4f34408004e1e4265230d4c1e [diff] |
Fixed a bug in the URL Handlers service tracker, which was not paying attention to service MODIFIED events. git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@422207 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java index 13e7861..1f6dc73 100644 --- a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java +++ b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersServiceTracker.java
@@ -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) {