users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] Re: [jsr372-experts] Should _at_SessionScoped Beans Allow Injection of Resources

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Sun, 5 Apr 2015 22:49:43 +0200

Hi,

On Sunday, April 5, 2015, Mark Struberg <struberg_at_yahoo.de> wrote:

>
> > Am 05.04.2015 um 21:07 schrieb arjan tijms <arjan.tijms_at_gmail.com
> <javascript:;>>:
> >
> > If this does not implement
> javax.enterprise.inject.spi.PassivationCapable (
> http://docs.oracle.com/javaee/7/api/javax/enterprise/inject/spi/PassivationCapable.html)
> then the injection in session scoped beans fails.
> >
>
> Yes, and that is simply a bug. There is nothing wrong with CDI in general,
> just a simple bug in Mojarra.



Just to be sure, do you mean it's a bug in Mojarra that the
FacesContextProducer does not implement the PassivationCapable interface?

Kind regards,
Arjan Tijms





> Ed, feel free to ping me and I’ll explain. Or we sit together over a
> coffee next week and I help you fixing this.
>
> LieGrue,
> strub