static void stopRefreshTimer(){
  try {
    if (refreshTimer != null && mbeanServer != null) {
      mbeanServer.unregisterMBean(refreshTimerObjectName);
      refreshTimer.stop();
    }
  }
 catch (  JMException e) {
    logStackTrace(Level.WARN,e);
  }
catch (  JMRuntimeException e) {
    logStackTrace(Level.WARN,e);
  }
catch (  Exception e) {
    logStackTrace(Level.DEBUG,e,"Failed to stop refresh timer for MBeanUtil");
  }
}

static void stopRefreshTimer ( ) { try { if ( refreshTimer != null && mbeanServer != null ) { mbeanServer . unregisterMBean ( refreshTimerObjectName ) ; refreshTimer . stop ( ) ; } } catch ( JMException e ) { logStackTrace ( Level . WARN , e ) ; } catch ( JMRuntimeException e ) { logStackTrace ( Level . WARN , e ) ; } catch ( Exception e ) { logStackTrace ( Level . DEBUG , e , "Failed to stop refresh timer for MBeanUtil" ) ; } }
initializes the timer for sending refresh notifications .
