code: @Override
      public void shutdown() {
          ArrayList mbeanSvrs = MBeanServerFactory.findMBeanServer(null);
          if (mbeanSvrs != null && mbeanSvrs.size() > 0 && _statsModuleObjectName != null) {
              MBeanServer svr = (MBeanServer) mbeanSvrs.get(0);
  
              try {
                  svr.unregisterMBean(_statsModuleObjectName);
              } catch (InstanceNotFoundException e) {
                  com.ibm.ws.ffdc.FFDCFilter.processException(e, "com.ibm.ws.session.SessionManager.shutdown", "263", this);
                  LoggingUtil.SESSION_LOGGER_CORE.logp(Level.SEVERE, methodClassName, methodNames[SHUTDOWN], "CommonMessage.exception", e);
              } catch (MBeanRegistrationException e) {
                  com.ibm.ws.ffdc.FFDCFilter.processException(e, "com.ibm.ws.session.SessionManager.shutdown", "265", this);
                  LoggingUtil.SESSION_LOGGER_CORE.logp(Level.SEVERE, methodClassName, methodNames[SHUTDOWN], "CommonMessage.exception", e);
              }
          }
      }
docs: Method shutdown
  <p>