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

getMXBeanInterface

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

Return the Java 6 MXBean interface exists for the given class, if any (that is, an interface whose name ends with "MXBean" and/or carries an appropriate MXBean annotation).

Parameters

clazz - the class to check

Return
whether there is an MXBean interface for the given class