[Whiteboard] MBean Tracker should listen for all services
---------------------------------------------------------
Key: ARIES-700
URL: https://issues.apache.org/jira/browse/ARIES-700
Project: Aries
Issue Type: Bug
Components: JMX
Affects Versions: 0.3
Reporter: Felix Meschberger
Fix For: 0.4
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 {
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira