Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4855

Expose actual listener.toString in consolidated listener mbean

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.10
    • 1.5.13, 1.6.0
    • jcr
    • None

    Description

      With SLING-6056 more listeners (in the form of ResourceChangeListeners) will be mapped 1:1 to either BackgroundObservers or JCR EventListeners. That means, they will also be exposed in the consolidated listeners stats. Without any change though, all that can be seen in that stats is the name of that 'bridge/mapper' listener (ie either JcrResourceListener or OakResourceListener), since currently all that is exposed is getClass().toString() - and the actual ResourceChangeListener sitting 2 steps behind is not visible.
      In JCR-4032 I'm suggesting to introduce a getToString() to the EventListenerMBean, and once that would be available, this could be exposed in the ConsolidatedListenerMBeanImpl.

      Attachments

        1. OAK-4855.patch
          2 kB
          Stefan Egli

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: