[
https://issues.apache.org/jira/browse/DELTASPIKE-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved DELTASPIKE-874.
-----------------------------------------
Resolution: Fixed
> observe @javax.faces.bean.RequestScoped via
> @javax.enterprise.context.Initialized and @javax.enterprise.context.Destroyed
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: DELTASPIKE-874
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-874
> Project: DeltaSpike
> Issue Type: New Feature
> Components: JSF-Module
> Affects Versions: 1.3.0
> Reporter: Mark Struberg
> Assignee: Gerhard Petracek
> Fix For: 1.3.1
>
>
> currently it's supported to observe faces-requests via
> org.apache.deltaspike.core.api.lifecycle.Initialized and
> org.apache.deltaspike.core.api.lifecycle.Destroyed
> since cdi 1.1 there are annotations with the same name.
> to avoid confusion, we can support those annotations optionally (if cdi 1.1+
> is available). both cdi 1.1+ annotations require the corresponding
> scope-annotation as value. since javax.enterprise.context.RequestScoped is
> supported out-of-the-box and this event is about the faces-request, we have
> to use javax.faces.bean.RequestScoped.
> the benefit is that it's possible to observe faces-requests via std.
> annotations and it's possible to access the faces-context (which isn't the
> case with an observer for javax.enterprise.context.RequestScoped).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)