spring-framework / org.springframework.jmx.support / JmxUtils / getMBeanInterface

getMBeanInterface

@Nullable open static fun getMBeanInterface(@Nullable clazz: Class<*>): Class<*>

Return the Standard MBean interface for the given class, if any (that is, an interface whose name matches the class name of the given class but with suffix "MBean").

Parameters

clazz - the class to check

Return
the Standard MBean interface for the given class