public void cleanJMXResource() {
    localGemFireMBean.clear();
    unregisterAll();
  }
Method to unregister all the local GemFire MBeans
geode-core/src/main/java/org/apache/geode/management/internal/MBeanJMXAdapter.java