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 2021/12/12 19:44:00 UTC

[jira] [Commented] (OWB-1393) OWB stops firing ProcessObserverMethods event, when Extension with non system event observer exists

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

Mark Struberg commented on OWB-1393:
------------------------------------

I think I got it now. In case an Extension has a non system ObserverMethod, it will fill a cache in the NotificationManager.

If we add the next Extension, this cache was already filled, but did not contain the ObserverMethods from the new Extension.

We now clean the NotificationManager caches after adding an Extension.

> OWB stops firing ProcessObserverMethods event, when Extension with non system event observer exists
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OWB-1393
>                 URL: https://issues.apache.org/jira/browse/OWB-1393
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: 2.0.23
>            Reporter: Arne Limburg
>            Assignee: Arne Limburg
>            Priority: Major
>             Fix For: 2.0.24
>
>
> When an extension is in the classpath, that observes an event that is no system event (like org.apache.cxf.cdi.JAXRSCdiResourceExtension), every extension that is registered after that extension will not receive ProcessObserverMethod events any more.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)