- Timestamp:
- 02/17/11 14:47:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Web/Hive-3.4/App_Code/HiveServerModule.cs
r5405 r5511 28 28 using HeuristicLab.Services.Hive; 29 29 using HeuristicLab.Tracing; 30 using HeuristicLab.Services.Hive.Common; 30 31 31 32 namespace HeuristicLab.Hive.Server.Core.IISModules { 32 33 public class HiveServerModule : IHttpModule { 33 34 34 private static IHiveService hiveService; 35 35 private static ILifecycleManager lifecycleManager; 36 36 37 37 public void Init(HttpApplication context) { 38 if (lifecycleManager == null) 38 if (lifecycleManager == null) { 39 39 lifecycleManager = new LifecycleManager(); 40 lifecycleManager.Start(); 40 lifecycleManager.Start(); 41 LogFactory.GetLogger(this.GetType().Name).Log("Init(): LifecycleManager started"); 42 } 41 43 } 42 44 43 45 public void Dispose() { 44 46 lifecycleManager.Stop(); 47 lifecycleManager = null; 48 LogFactory.GetLogger(this.GetType().Name).Log("Init(): LifecycleManager stopped"); 45 49 } 46 50 }
Note: See TracChangeset
for help on using the changeset viewer.