Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/11/10 15:30:03 (13 years ago)
Author:
cneumuel
Message:

#1260

  • added LogServiceReader to display log for slave without writing to local files
  • aborted jobs with childjobs now got back to state WaitForChildJob (instead of Offline)
  • lifecyclemanager now knows about available plugins (does not yet work perfectly)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HiveWeb/App_Code/HiveServerModule.cs

    r4755 r4772  
    99using HeuristicLab.Hive.Contracts.Interfaces;
    1010using HeuristicLab.PluginInfrastructure;
     11using HeuristicLab.PluginInfrastructure.Manager;
    1112
    1213namespace HeuristicLab.Hive.Server.Core.IISModules {
     
    1415    private static object locker = new object();
    1516    private static ILifecycleManager lifecycleManager;
    16    
     17    private static PluginManager pm;
     18
    1719    public void Init(HttpApplication context) {
    1820      lock (locker) {
    19         if(lifecycleManager == null) lifecycleManager = ServiceLocator.GetLifecycleManager();
    20         lifecycleManager.Start();
     21        if (lifecycleManager == null) {
     22          pm = new PluginManager(@"C:\ch\SVN\branches\HeuristicLab.Hive\sources\HeuristicLab.Hive\HiveWeb\App_Data\Plugins\");
     23          pm.DiscoverAndCheckPlugins();
     24          pm.InitializeLifetimeService();
     25
     26          lifecycleManager = ServiceLocator.GetLifecycleManager();
     27          lifecycleManager.Plugins = pm.Plugins;
     28          lifecycleManager.Start();
     29        }
    2130      }
    2231    }
Note: See TracChangeset for help on using the changeset viewer.