Hi all,

> you can also listen to WebEvents. They give you access to the HttpContext
> and the HttpService that created the context. I'm using this to register
> Servlets into war-bundles.

Thanks for all suggestions.

For the records, here is my solution.

I ended up studying the Pax Web code, and realized that what I am
trying to do isn't easily possible: The extender
keeps things strictly separate for each pair of bundleId and
httpContext. There may be ways around this, but they would
certainly involve significant hackery.

What I did instead is simply export the filter as a service, but
without the properties necesary for the whiteboard
extender. This generates a small warning from the extender, but I can
then import the filter from the bundle that has the servlet and
simply re-publish it from there, and it'll be applied correctly.

Alex

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to