|Re: [equinox-dev] How to register listener & filter?|
The Http Service and subsequently the extension points in http.registry do not "directly" support either Filters or Listeners. The current idiom is to use a special wrapping Servlet that will perform the Filtering and support the various Listener events. You can see various examples of this technique in /cvsroot/rt/org.eclipse.equinox/incubator/server-side/bundles/org.eclipse.equinox.http.helper
For Filters there is work planned in theis release to offer support in the Equinox implementations of the Http Service. For more formal support for filters and listeners support you might want to follow along with OSGi's RFC 66 as once fully spec'ed and released this will let us use web.xml and all it's various deployment descriptor characteristics in OSGi applications.