felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sten Roger Sandvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1962) Add support for (select) Servlet API listeners
Date Sat, 02 Jan 2010 19:11:54 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795900#action_12795900
] 

Sten Roger Sandvik commented on FELIX-1962:
-------------------------------------------

Cool. Was thinking of supporting this in both ExtHttpService and whiteboard. Will check out
your patch. Also support for HttpSession*Listeners should be possible. ServletContextListeners
could be nice to have if you want to use unmodified code that depend on such startup mechanism.

> Add support for (select) Servlet API listeners
> ----------------------------------------------
>
>                 Key: FELIX-1962
>                 URL: https://issues.apache.org/jira/browse/FELIX-1962
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>            Reporter: Felix Meschberger
>         Attachments: FELIX-1962.patch
>
>
> The new Http Service implementation currently does not support any Servlet API listeners
at all. Support for some listeners can easily be implemented in a transparent way: ServletContextAttributeListener,
ServletRequestListener, ServletRequestAttributeListener.
> The HttpSession listeners can probably not easily be implemented in such a transparent
way.
> The ServletContextListener is probably not worth it supporting. Most (if not all) use
cases for ServletContextListeners in traditional web applications can be solved in better
ways in an OSGi framework.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message