[
https://issues.apache.org/jira/browse/OWB-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582012#comment-13582012
]
Mark Struberg commented on OWB-782:
-----------------------------------
The SPI will be completely separated. But the AbstractMetadataDiscovery will
implement both interfaces. And nope, it seems that reflection is still slower
as could be.
There is still the other argument why we need 2 different mechanisms. The first
will create the 'initial' AnnotatedTypes, the 2nd will return the cached
versions which might reflect the changes done in Extensions.
> Create AnnotatedTypeService SPI interface
> -----------------------------------------
>
> Key: OWB-782
> URL: https://issues.apache.org/jira/browse/OWB-782
> Project: OpenWebBeans
> Issue Type: Task
> Components: Core
> Affects Versions: 1.2.0
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.2.0
>
>
> We currently create all the AnnotatedTypes in a Factory where we also cache
> them.
> We need a 2nd layer for the synthetic AnnotatedTypes which might get added
> from in BeforeBeanDiscovery.
> Since we now have xbean-finder in our ScannerService, we can re-use the
> information gathered there and spare parts of the initial class reflection.
--
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