You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Arne Limburg (JIRA)" <ji...@apache.org> on 2013/06/13 10:44:20 UTC

[jira] [Commented] (OWB-872) Listening to AfterBeanDiscovery suppresses @Decorator registration as a side effect

    [ https://issues.apache.org/jira/browse/OWB-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682030#comment-13682030 ] 

Arne Limburg commented on OWB-872:
----------------------------------

Hi Christian,
I'll take a look at your issues this evening. Is it possible, that you provide a test within our test-suite, that reproduces the issue?

                
> Listening to AfterBeanDiscovery suppresses @Decorator registration as a side effect
> -----------------------------------------------------------------------------------
>
>                 Key: OWB-872
>                 URL: https://issues.apache.org/jira/browse/OWB-872
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core, Events, Interceptor and Decorators
>    Affects Versions: 1.2.0
>            Reporter: Christian Schlichtherle
>            Priority: Critical
>         Attachments: mavenproject1.zip
>
>
> In the attached demo project, the listener method {{Main.afterBeanDiscovery()}} suppresses the configured {{@Decorator}} beans. As a result, when running the standalone demo, the output is just:
> {code}
> Hello world!
> {code}
> instead of the expected:
> {code}
> ---------- BEGIN PRINT ----------
> Hello world!
> ----------  END PRINT  ----------
> {code}
> After commenting out the listener method, the expected output is produced again when running the Main class {{com.company.mavenproject1.boot.BootWebBeans}}.

--
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