static private void OnShutdown()
        {
            try
            {
                AppDomain.CurrentDomain.ProcessExit -= OnShutdown;
                RIEventManager.OnConfigChange       -= OnConfigFileChange;

                RIEventManager.DoOnShutdown();
                ReflectInsight.OnShutdown();
                DebugManager.OnShutdown();
                RIMessageColors.OnShutdown();
                RILogManager.OnShutdown();
                RIListenerGroupManager.OnShutdown();
                ReflectInsightConfig.OnShutdown();
                TraceMethod.OnShutdown();

                RITraceListener.OnShutdown();
            }
            catch (Exception ex)
            {
                RIExceptionManager.Publish(ex, "Failed during: static ReflectInsightService.OnShutdown()");
            }
            finally
            {
                RIExceptionManager.OnShutdown();
                DebugTextLoggerManager.OnShutdown();
            }
        }
 static private void OnConfigFileChange()
 {
     try
     {
         lock (FLockObject)
         {
             RIExceptionManager.OnConfigFileChange();
             MessageQueue.OnConfigFileChange();
             MessageManager.OnConfigFileChange();
             RIListenerGroupManager.OnConfigFileChange();
             RILogManager.OnConfigFileChange();
             RIMessageColors.OnConfigFileChange();
             TraceMethod.OnConfigFileChange();
             ReflectInsight.OnConfigFileChange();
             RIEventManager.DoOnServiceConfigChange();
         }
     }
     catch (Exception ex)
     {
         RIExceptionManager.Publish(ex, "Failed during: static ReflectInsightService.OnConfigFileChange()");
     }
 }
        static private void OnStartup()
        {
            try
            {
                RIExceptionManager.OnStartup();
                MessageQueue.OnStartup();
                MessageManager.OnStartup();
                RIListenerGroupManager.OnStartup();
                DebugManager.OnStartup();
                RILogManager.OnStartup();
                RIMessageColors.OnStartup();
                TraceMethod.OnStartup();
                ReflectInsight.OnStartup();
                RIEventManager.DoOnStartup();

                RITraceListener.OnStartup();
            }
            catch (Exception ex)
            {
                RIExceptionManager.Publish(ex, "Failed during: static ReflectInsightService.OnStartup()");
            }
        }