Class ResourceDMBean

java.lang.Object
org.infinispan.jmx.ResourceDMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration

public final class ResourceDMBean extends Object implements DynamicMBean, MBeanRegistration
This class was copied from JGroups and adapted.

The original JGroup's ResourceDMBean logic has been modified so that invoke() method checks whether the operation called has been exposed as a ManagedOperation, otherwise the call fails. JGroups deviated from this logic on purpose because they liked the fact that you could expose all class methods by simply annotating class with MBean annotation.

Since:
4.0
Author:
Mircea.Markus@jboss.com, Galder ZamarreƱo