[Whiteboard] Use introspection to find the MBean interface
----------------------------------------------------------

                 Key: ARIES-702
                 URL: https://issues.apache.org/jira/browse/ARIES-702
             Project: Aries
          Issue Type: Improvement
          Components: JMX
    Affects Versions: 0.3
            Reporter: Felix Meschberger


The JMX Spec states that standard MBeans must implement an interface whose name 
is derived from the implementation class by appending the "MBean" suffix and 
the interface must be located in the same package as the implementation class.

This is problematic in multiple ways.

I suggest we change this as follows:

  * If the service object implements the DynamicMBean interface (or an 
extension thereof), use the object as is as the MBean
  * Find the MBean interface by walking up the class and interface hierarchy

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to