Re: Servlet listeners in Sling

2008-09-29 Thread Felix Meschberger
Hi Juanjo, Juan José Vázquez Delgado schrieb: >> +1 on what you suggest, assuming it allows Juanjo's use case to be >> implemented. >> > > Sure, i think Felix´s suggestion is good enough. > > Felix, what would the next steps be?. I suppose a new Jira issue, right?. Yes. Of course as a committer

Re: Servlet listeners in Sling

2008-09-29 Thread Juan José Vázquez Delgado
> +1 on what you suggest, assuming it allows Juanjo's use case to be > implemented. > Sure, i think Felix´s suggestion is good enough. Felix, what would the next steps be?. I suppose a new Jira issue, right?. Thanks, BR, Juanjo.

Re: Servlet listeners in Sling

2008-09-28 Thread Bertrand Delacretaz
On Sun, Sep 28, 2008 at 9:58 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...I think this is rather simple for Sling -- a single class to create in > Sling, a small extension to the web.xml of the launchpad and some glue > code in the SlingServlet -- and for any listener implementations -- t

Re: Servlet listeners in Sling

2008-09-28 Thread Felix Meschberger
Hi Juanjo, Juanjo Vázquez schrieb: > Hi Felix, > > Maybe a listener -- say ServletListenerHelper -- could be added in Sling >> which listens for the various Servlet API EventListeners registered as >> OSGi services. Upon registration of such listeners, the >> ServletListenerHelper would call into

Re: Servlet listeners in Sling

2008-09-27 Thread Juanjo Vázquez
Hi Felix, Maybe a listener -- say ServletListenerHelper -- could be added in Sling > which listens for the various Servlet API EventListeners registered as > OSGi services. Upon registration of such listeners, the > ServletListenerHelper would call into the registerEventListener of the > PAX WebCo

Re: Servlet listeners in Sling

2008-09-26 Thread Felix Meschberger
Hi Juanjo, Juan José Vázquez Delgado schrieb: > Hi Felix, > > >> The implementation on the Sling or OSGi side, though, is currently >> missing. One thing is, that such a thing is not part of the OSGi >> HttpService specification (which is based on the Servlet API 2.1). The >> other missing thin

Re: Servlet listeners in Sling

2008-09-26 Thread Juan José Vázquez Delgado
Hi Felix, > The implementation on the Sling or OSGi side, though, is currently > missing. One thing is, that such a thing is not part of the OSGi > HttpService specification (which is based on the Servlet API 2.1). The > other missing thing is support by Sling itself. > Yes I know, Although, I

Re: Servlet listeners in Sling

2008-09-26 Thread Felix Meschberger
Hi Juanjo, Juanjo Vázquez schrieb: > Hi guys, > > How can i have servlet listeners in Sling? (Sorry if this is a very basic > OSGi question). No Problem. This is actually a good question -- I recently wondered whether it would make sense to start thinking about SerlvetContextList

Servlet listeners in Sling

2008-09-26 Thread Juanjo Vázquez
Hi guys, How can i have servlet listeners in Sling? (Sorry if this is a very basic OSGi question). My goal is to implement a ServletContextAttributeListener class to response to changes in attributes. Thanks in advance. BR, Juanjo