Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/17/11 14:47:56 (14 years ago)
Author:
cneumuel
Message:

#1233

  • added StateLog to log state transitions of hive jobs
  • added permissions to hive experiments (in data access layer, no UI for that yet)
  • extended unit tests
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  
    2828using HeuristicLab.Services.Hive;
    2929using HeuristicLab.Tracing;
     30using HeuristicLab.Services.Hive.Common;
    3031
    3132namespace HeuristicLab.Hive.Server.Core.IISModules {
    3233  public class HiveServerModule : IHttpModule {
    33    
    3434    private static IHiveService hiveService;
    3535    private static ILifecycleManager lifecycleManager;
    3636
    3737    public void Init(HttpApplication context) {
    38       if (lifecycleManager == null)
     38      if (lifecycleManager == null) {
    3939        lifecycleManager = new LifecycleManager();
    40       lifecycleManager.Start();
     40        lifecycleManager.Start();
     41        LogFactory.GetLogger(this.GetType().Name).Log("Init(): LifecycleManager started");
     42      }
    4143    }
    4244
    4345    public void Dispose() {
    4446      lifecycleManager.Stop();
     47      lifecycleManager = null;
     48      LogFactory.GetLogger(this.GetType().Name).Log("Init(): LifecycleManager stopped");
    4549    }
    4650  }
Note: See TracChangeset for help on using the changeset viewer.