You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/11/10 09:15:59 UTC

[jira] [Updated] (JCR-4032) Add jmx EventListenerMBean.getToString() for clearer consolidated listener stats

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

Julian Reschke updated JCR-4032:
--------------------------------
    Fix Version/s: 2.14

> Add jmx EventListenerMBean.getToString() for clearer consolidated listener stats
> --------------------------------------------------------------------------------
>
>                 Key: JCR-4032
>                 URL: https://issues.apache.org/jira/browse/JCR-4032
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: JCR API
>    Affects Versions: 2.13.3
>            Reporter: Stefan Egli
>             Fix For: 2.13.4, 2.14
>
>         Attachments: JCR-4032.patch
>
>
> In Oak, the Consolidated Listener Stats MBean provides an overview of all listeners, including the name of the class. When used in Sling (and esp with SLING-6056) a new bunch of listeners is added, namely {{ResourceChangeListeners}} that will get mapped 1:1 to an oak listener/backgroundobserver. Currently though, the consolidated listeners mbean only shows the {{getClass().getName()}} - which in the case of a ResourceChangeListener doesn't help much, as the 'real' listener hides 2 steps behind either a {{JcrResourceListener}} or a {{OakResourceListener}}. So it wouldn't be possible to tell from a list of such listeners what really is behind.
> Therefore suggesting to introduce a
> {noformat}
>     /** toString of the event listener */
>     String getToString();
> {noformat}
> that then can be used by the {{ConsolidatedListenerMBeanImpl}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)