code: public void shutdown()
      {
          try {
              if (m_shutdownHook != null) {
                  synchronized (m_shutdownHook) {
                      if (m_shutdownHook != null) {
                          LOG.debug("Shutdown in progress...");
                          Runtime.getRuntime().removeShutdownHook( m_shutdownHook );
                          m_frameworkProcess = null;
                          m_shutdownHook.run();
                          m_shutdownHook = null;
                          LOG.info( "Platform has been shutdown." );
                      }
                  }
              }
          }
          catch( IllegalStateException ignore )
          {
              // just ignore
          }
      }
docs: {@inheritDoc}