Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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.
 
HTH
-Simon
 
----- Original Message -----
Sent: Wednesday, December 02, 2009 8:24 PM
Subject: [equinox-dev] How to register listener & filter?

Hello all.
    I want to build a bundle of a web project , but I found the org.eclipse.equinox.http.registry extension just only support the servlet.
    can I register the listener by org.osgi.service.http.HttpService.registerServlet method,and how if it is possible?
 
Many Thanks.
Fox


_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Back to the top