[JBoss JIRA] Updated: (CDI-43) Allow Extensions to specify the annotations that they are interested in
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-43?page=com.atlassian.jira.plugin.sys... ]
Pete Muir updated CDI-43:
-------------------------
Fix Version/s: 1.1 (Proposed)
(was: TBD)
> Allow Extensions to specify the annotations that they are interested in
> -----------------------------------------------------------------------
>
> Key: CDI-43
> URL: https://issues.jboss.org/browse/CDI-43
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Portable Extensions
> Affects Versions: 1.0
> Reporter: Stuart Douglas
> Fix For: 1.1 (Proposed)
>
>
> Currently portable extensions that wish to look for a specific annotation have to look through all availible classes in the ProcessAnnotatatedType event, which is quite inefficient. It would be good if extensions could do something like:
> public void processAnnotatedType(@Observes @RequireAnnotations({(a)Unwraps.class}) ProcessAnnotatedType pat)
> This could allow the container to take advantage of annotation indexing to improve boot time performance, as well as reducing uneeded processing in the observer.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Updated: (CDI-89) Add @Unwraps from Seam Solder
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-89?page=com.atlassian.jira.plugin.sys... ]
Pete Muir updated CDI-89:
-------------------------
Fix Version/s: 1.1 (Proposed)
(was: TBD)
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months