Class MixinRequiredModelMBean

java.lang.Object
javax.management.modelmbean.RequiredModelMBean
org.apache.camel.support.management.MixinRequiredModelMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, NotificationEmitter, PersistentMBean

public class MixinRequiredModelMBean extends RequiredModelMBean
A RequiredModelMBean which allows us to intercept invoking operations on the MBean.

This allows us to intercept calls to custom mbeans where allows us to mix-in the standard set of mbean attributes and operations that Camel provides out of the box.

For example if mask has been enabled on JMX, then we use this implementation to hide sensitive information from the returned JMX attributes / operations.