예제 #1
0
        // Token: 0x06000D78 RID: 3448 RVA: 0x00059A84 File Offset: 0x00057C84
        internal static void CreateAndLoadConfigurationManager()
        {
            OwaConfigurationManager owaConfigurationManager = new OwaConfigurationManager();

            if (Globals.OwaVDirType == OWAVDirType.OWA)
            {
                try
                {
                    if (owaConfigurationManager == null)
                    {
                        throw new OwaInvalidConfigurationException(LocalizedStrings.GetNonEncoded(940832921));
                    }
                    OwaConfigurationManager.InitializeConfigurationManager();
                    OwaConfigurationManager.instance = owaConfigurationManager;
                    OwaConfigurationManager.LoadConfiguration();
                    if (Globals.ListenAdNotifications)
                    {
                        OwaConfigurationManager.instance.RegisterConfigurationChangeNotification();
                    }
                    return;
                }
                catch (Exception ex)
                {
                    throw new OwaInvalidConfigurationException(ex.Message, ex);
                }
            }
            OwaConfigurationManager.instance      = owaConfigurationManager;
            owaConfigurationManager.configuration = new CalendarVDirConfiguration();
        }
 internal virtual void Load()
 {
     OwaRegistryKeys.Initialize();
     OwaConfigurationManager.CreateAndLoadConfigurationManager();
     this.ReadServerCulture();
     this.InitializeLocalVersionFolders();
     this.ReadAutoSaveInterval();
     this.ReadChangeExpiredPasswordEnabled();
 }
예제 #3
0
 internal void ExecuteApplicationEnd(object sender, EventArgs e)
 {
     Tokenizer.ReleaseWordBreakers();
     InstantMessageOCSProvider.DisposeEndpointManager();
     if (TranscodingTaskManager.IsInitialized)
     {
         TranscodingTaskManager.StopTranscoding();
     }
     OwaConfigurationManager.ShutDownConfigurationManager();
     PerformanceCounterManager.ArePerfCountersEnabled = false;
     Globals.UnloadOwaSettings();
 }
예제 #4
0
 // Token: 0x06000D7A RID: 3450 RVA: 0x00059C8C File Offset: 0x00057E8C
 private static void ConfigurationUpdate(ADNotificationEventArgs args)
 {
     ExTraceGlobals.ConfigurationManagerTracer.TraceDebug(0L, "OwaConfigurationManager.ConfigurationUpdate");
     OwaConfigurationManager.LoadConfiguration();
 }