[cdi-dev] Scoped CDI Events?

Arne Limburg arne.limburg at openknowledge.de
Wed Aug 29 06:06:43 EDT 2012


Hi Adam,


Are you talking about the injected Event object or about the payload?
The Event object is stateless so the scope does not matter.
And the payload is not managed at all.
So, I'm afraid, I can't see your issue here?
Could you provide a use case for a scoped event?

Cheers,
Arne

Am 29.08.12 11:49 schrieb "Adam Bien" unter <abien at adam-bien.com>:

>Hi *,
>
>I didn't found in the CDI 1.0 spec a mention of the scope of CDI events.
>There is also no mention of scopes in the Observer Resolution section.
>
>Are CDI events scoped?
>
>Does observer resolution depend on the scope of the injected Event
>instance?
>
>Should we refine/clarify that in the CDI 1.1 spec?
>
>I didn't found an explicit mail in the archives either,
>
>thanks and sorry in case the issue is already resolved,
>
>adam
>_______________________________________________
>cdi-dev mailing list
>cdi-dev at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/cdi-dev




More information about the cdi-dev mailing list