Julien,
Here's the changes for WCI to enable servlet request events:
https://github.com/gatein/gatein-wci/pull/11
If everything looks ok I'll merge tomorrow and release a new WCI.
Ken
----- Original Message -----
From: "Julien Viet" <julien(a)julienviet.com>
To: "Ken Finnigan" <kfinniga(a)redhat.com>
Cc: gatein-dev(a)lists.jboss.org
Sent: Monday, April 15, 2013 11:05:16 AM
Subject: Re: [gatein-dev] CDI Injection for GateIn
On Apr 15, 2013, at 4:11 PM, Ken Finnigan < kfinniga(a)redhat.com
> wrote:
> All,
> The work to have CDI injection into portlets and filters is
almost
> complete,
> but a difference has been discovered between AS7 and Tomcat.
> In essence, the ApplicationDispatcher for Tomcat never fires
the
> ServletRequestEvent on includes, but the ApplicationDispatcher in AS7 has
> been modified to fire the event when the current TCCL is different to the
> classloader on the Context.
wouldn't it be better to do it when there is an include between
context ?
what is the difference ?
> I'm proposing that in the Tomcat specific bits of WCI, I
create an extended
> CommandServlet that performs the same check and fires the events as
> desired.
yes, can you add a test for it so we have guarantees that it will not
break
later ?
> Any concerns or better approaches are most welcome.
one remark: I think we are reaching application spec boundaries. This
kind of
stuff should be brought to the Portlet 3.0 EG so we can make it specified in
the Servlet spec.
> Ken
> ========================
> Senior Software Engineer / JBoss Enterprise Middleware Red Hat, Inc.
> _______________________________________________
> gatein-dev mailing list
> gatein-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/gatein-dev