You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2015/08/07 21:08:45 UTC
[jira] [Closed] (OWB-1017) Adding an annotated type as interceptor
binding does not take the annotated type metadata into account
[ https://issues.apache.org/jira/browse/OWB-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg closed OWB-1017.
------------------------------
Assignee: Mark Struberg (was: Romain Manni-Bucau)
setting the fix-version back to 1.5.0 as this was the version we shipped the changes with. Txs again for the report, Antonin!
> Adding an annotated type as interceptor binding does not take the annotated type metadata into account
> ------------------------------------------------------------------------------------------------------
>
> Key: OWB-1017
> URL: https://issues.apache.org/jira/browse/OWB-1017
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Lifecycle
> Reporter: Antonin Stefanutti
> Assignee: Mark Struberg
> Fix For: 1.5.0
>
> Attachments: OwbBean.java, OwbClassBinding.java, OwbExtension.java, OwbMethodBinding.java, OwbMethodInterceptor.java, OwbTest.java
>
>
> When calling the {{BeforeBeanDiscovery.addInterceptorBinding(AnnotatedType<? extends Annotation>)}} method, the metadata of the provided {{AnnotatedType}} argument are not taken into account. A typical use case is when some of the members of the provided annotated type have been decorated with the {{@NonBinding}} annotation.
> Indeed, the implementation in the {{org.apache.webbeans.portable.events.discovery.BeforeBeanDiscoveryImpl}} class delegate to the class-based version of the {{BeforeBeanDiscovery.addInterceptorBinding}} method by losing all the metadata information in the process.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)