commit | 86fbb36732f55f58134e9240e50769fb888ede83 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Mon Oct 10 15:57:36 2011 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Mon Oct 10 15:57:36 2011 +0000 |
tree | 84a301d4a076366e74679c9e3a13c72ee6f05c0e | |
parent | f7efccb1eda8480ef1005add1bf1173b68a4380d [diff] |
Do not ignore service filter. (FELIX-3150) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1181041 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java b/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java index 5e23c91..d7bbfa0 100644 --- a/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java +++ b/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java
@@ -438,7 +438,7 @@ throws InvalidSyntaxException { ServiceReference<S>[] refs = - (ServiceReference<S>[]) getServiceReferences(clazz.getName(), null); + (ServiceReference<S>[]) getServiceReferences(clazz.getName(), filter); return (refs == null) ? Collections.EMPTY_LIST : (Collection<ServiceReference<S>>) Arrays.asList(refs);