commit | e150abd171dc7bfc6211d0ed428090f9f4093e37 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Fri Feb 20 16:17:18 2015 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Fri Feb 20 16:17:18 2015 +0000 |
tree | ec8660b0b57b55f6dcbb943eda7ce81995f44a1c | |
parent | 0474147436561858bdb6844e0ccb8f3d0c9f7550 [diff] |
FELIX-4803 : Implement latest changes to ServletContetxHelper handling git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1661150 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/tracker/ServletContextHelperTracker.java b/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/tracker/ServletContextHelperTracker.java index 62219e0..d5e3a85 100644 --- a/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/tracker/ServletContextHelperTracker.java +++ b/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/tracker/ServletContextHelperTracker.java
@@ -24,7 +24,6 @@ import org.osgi.framework.InvalidSyntaxException; import org.osgi.framework.ServiceReference; import org.osgi.service.http.context.ServletContextHelper; -import org.osgi.service.http.whiteboard.HttpWhiteboardConstants; import org.osgi.util.tracker.ServiceTracker; /** @@ -40,10 +39,8 @@ { try { - return btx.createFilter(String.format("(&(objectClass=%s)(%s=*)(%s=*))", - ServletContextHelper.class.getName(), - HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME, - HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_PATH)); + return btx.createFilter(String.format("(objectClass=%s)", + ServletContextHelper.class.getName())); } catch ( final InvalidSyntaxException ise) {