[cdi-dev] [JBoss JIRA] (CDI-89) Add @Unwraps from Seam Solder

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Oct 10 08:40:00 EDT 2016


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

Antoine Sabot-Durand updated CDI-89:
------------------------------------
    Fix Version/s: TBD
                       (was: 2.0 (discussion))


> Add @Unwraps from Seam Solder 
> ------------------------------
>
>                 Key: CDI-89
>                 URL: https://issues.jboss.org/browse/CDI-89
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Concepts
>    Affects Versions: 1.0
>            Reporter: Stuart Douglas
>            Assignee: Pete Muir
>             Fix For: TBD
>
>
> @Unwraps allows for an essentially stateless scope for producer methods and fields. 
> At injection time a dependent scoped proxy is injected into the injection point. When a methods is invoked on this proxy it calls the corresponding @Unwraps methods to get the instance to invoke the method on. 
> Because the proxy is @Dependent scoped, the @Unwraps method can inject the corresponding InjectionPoint. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list