You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/03/26 07:33:14 UTC

[jira] [Resolved] (OPENEJB-2085) Interceptor extension not recognized

     [ https://issues.apache.org/jira/browse/OPENEJB-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved OPENEJB-2085.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.6.1
         Assignee: Romain Manni-Bucau

Thanks for the report! Should be fixed on trunk

> Interceptor extension not recognized
> ------------------------------------
>
>                 Key: OPENEJB-2085
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-2085
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: Moritz Becker
>            Assignee: Romain Manni-Bucau
>             Fix For: 4.6.1
>
>         Attachments: OPENEJB-2085.zip
>
>
> Hi,
> encountered this problem when I tried to use the JCache RI with OpenEJB. JCache defines an Interceptor for the caching annotations. These annotations have no static InterceptorBinding defined. Therefore JCache contains a InterceptorExtension that is used to dynamically add the InterceptorBindings on BeforeBeanDiscovery.
> I have added a minimal project that contains just an annoation, an interceptor for this annotation and an interceptor extension. It contains a unit test that just fires up the OpenEJB container. During startup a org.apache.webbeans.exception.WebBeansConfigurationException is thrown.
> It seems that the validation happens to early in CdiScanner (there is also a TODO in the respective source code).



--
This message was sent by Atlassian JIRA
(v6.2#6252)