Hi,
I use the org.ops4j.pax.web.service.WebContainer to register the filter. This
class has the getDefaultSharedHttpContext method which is "package private" but
the implementation is public. I need to use reflection to access the method and
I don't understand the concept behind this restriction unless this is a bug.
I checked the code
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-api/src/main/java/org/ops4j/pax/web/service/WebContainer.java
and I can not figure out how to initialise the instance of
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-runtime/src/main/java/org/ops4j/pax/web/service/internal/DefaultSharedWebContainerContext.java
Please let me know because I issued this as a bug
http://team.ops4j.org/browse/PAXWEB-344 but turned out it's not. I can not use
Pax Web in a real multi bundle whiteboard context.
This http://lists.ops4j.org/pipermail/general/2012q1/007379.html is a primitive
blue-print when I have to hardcode what to register. I want to register a
shared HTTP Context and the whiteboard extender can attach servlets, filters
and resources from different bundles (There is no single bundle that knows what
to register in advance, that's a blue-print approach)
Achim Nierbeck gived me a useless information and obviously he did not pay
enough attention when he just closed the issue so any help is more useful then
his and appreciated as well.
Regards,
Laszlo
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general