Hi all.

I'm trying to find a way to generate MXBeans instead of MBean from an annotated class with ManagedResource so that complex parameters and return types can be accessed through JMX console.

I don't want to create an interface named *MXBean for every single class that I want to expose, because there are some classes that I cannot modify (third-party code).

Is there a way to modify something in Spring, maybe the exporter, the assembler, or something else, to generate MXBean interfaces instead of MBean interfaces for annotated ManagedResource classes?

Thanks in advance.