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

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 22 14:32:14 EDT 2012


    [ https://issues.jboss.org/browse/CDI-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713169#comment-12713169 ] 

Pete Muir commented on CDI-89:
------------------------------

This may be required by JSR-351, to easily provide injection of attributes, which are scoped to the calling context.
                
> 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
>             Fix For: 1.1 (Proposed)
>
>
> @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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list