The pax web examples show how one can listen for the WebContainer OSGi
service, and then use this service to register and unregister servlets
and other web resources:
 
https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/helloworld-wc/src/main/java/org/ops4j/pax/web/samples/helloworld/wc/internal/Activator.java#L51

Is there a way to turn this approach on its head?

Ie. is there a service that my webapp could expose, that will be picked
up by the webcontainer and used to register a webapp (or even: used
directly as the webapp)?

Thanks!


- Steinar

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to