commit | 8ccc01a2bc80977fc40c6fe7227de6a5b09f9fa5 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Mon Jul 24 10:37:06 2006 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Mon Jul 24 10:37:06 2006 +0000 |
tree | 84ba926b895956894002ec414e2e038d6df4ec60 | |
parent | 9277063766411e10916c384200b74f4fffefa9e9 [diff] |
Now dispatches to AllServiceListeners correctly too (FELIX-5). Still need to implemented the remaining AllServiceListener functionality (FELIXi-32) git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@425000 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/util/EventDispatcher.java b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/util/EventDispatcher.java index ddcc34c..f853a9d 100644 --- a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/util/EventDispatcher.java +++ b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/util/EventDispatcher.java
@@ -685,7 +685,8 @@ // Dispatch according to the filter. if ((filter == null) || filter.match(((ServiceEvent) event).getServiceReference())) { - if (Felix.isServiceAssignable(bundle, ((ServiceEvent) event).getServiceReference())) + if ((l instanceof AllServiceListener) || + Felix.isServiceAssignable(bundle, ((ServiceEvent) event).getServiceReference())) { if (System.getSecurityManager() != null) {