[cdi-dev] [JBoss JIRA] (CDI-329) @TransientReference not reflected within passivation capability validation rules for producer methods

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Wed Mar 6 07:09:56 EST 2013


     [ https://issues.jboss.org/browse/CDI-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger reopened CDI-329:
---------------------------------



The spec is still inconsistent.

Assume a non-dependent pseudo-scoped bean (BeanX) which is not a passivation capable dependency.

If a parameter injection point annotated with @TransientReference of a *managed bean or session bean* that declares a passivating scope resolves to BeanX, the container is required to detect a deployment problem.

However, if a parameter injection point annotated with @TransientReference of a *producer method* that declares a passivating scope resolves to BeanX, this is not considered a deployment problem by the specification.
                
> @TransientReference not reflected within passivation capability validation rules for producer methods
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CDI-329
>                 URL: https://issues.jboss.org/browse/CDI-329
>             Project: CDI Specification Issues
>          Issue Type: Bug
>    Affects Versions: 1.1.PFD
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>             Fix For: 1.1.FD
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list