|
Re: How should one use a ServletContextListener when running under serverside OSGI? [message #59902 is a reply to message #59873] |
Mon, 06 February 2006 21:03 |
Eclipse User |
|
|
|
Originally posted by: skaegi.sympatico.ca
Hi Jim,
With the current bridge (and the current OSGi HttpService) you can't.
What's required here is a new spec.
An API to support this stuff (listeners and filters) dynamically is
definitely still a work in progress. I'm experimenting with re-alignment
with something resembling a java-binding of the Servlet API deployment
descriptor. For implementation, which is perhaps what you're asking, I've
been thinking that a similar approach to the ServletBridge could be used to
bridge and "simulate" the various listeners (and filters) although I haven't
had a chance to experiment yet.
-Simon
A new specification
----- Original Message -----
From: "Jim D'Anjou" <danjou@us.ibm.com>
Newsgroups: eclipse.technology.equinox
Sent: Monday, February 06, 2006 2:29 PM
Subject: How should one use a ServletContextListener when running under
serverside OSGI?
> I am wondering how to accomplish the equivalent of a
> ServletContextListener when running under serverside OSGI? The context
> listener class needs to be visible in the web container to avoid a class
> not found exception. However when running under serverside OSGI the
> listener class will likely have dependencies on classes that reside in
> plug-in jars managed by OSGI. I have such a situation. The listener class
> can't be in an OSGI plug-in and it dependencies can't NOT be in an OSGI
> plugin. Thanks.
>
> Jim D'Anjou
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 5.05200 seconds