[
https://issues.apache.org/jira/browse/ARIES-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger updated ARIES-702:
------------------------------------
Attachment: ARIES-702-2.patch
Patch against Rev. 1143254 dependend on having ARIES-701 patch applied.
> [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
> Attachments: ARIES-702-2.patch, ARIES-702.patch
>
>
> 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