Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-700

[Whiteboard] MBean Tracker should listen for all services

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • None
    • JMX
    • None

    Description

      The ServiceTracker tracking MBean services currently only tracks services whose service interface is accessible to the JMX Whiteboard bundle. This is wrong since the Whiteboard bundle does not really care for the actual implemented service (unless the service interface happens to be DynamicMBean (or an JMX defined extension thereof)).

      The patch is extremely simple:

      Index: Activator.java
      ===================================================================
      — Activator.java (Revision 1142902)
      +++ Activator.java (Arbeitskopie)
      @@ -42,7 +42,7 @@
      mbeanServerTracker.open();

      mbeanTracker = new MBeanTracker(context);

      • mbeanTracker.open();
        + mbeanTracker.open(true);
        }

      public void stop(BundleContext context) throws Exception {

      Attachments

        Activity

          People

            not Alasdair Nottingham
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: