Changeset 4791
- Timestamp:
- 11/15/10 12:52:54 (14 years ago)
- Location:
- branches/HeuristicLab.Hive/sources/HeuristicLab.Hive
- Files:
-
- 122 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Calendar/3.3/HeuristicLab.Calendar-3.3.csproj.user
r4105 r4791 10 10 <FallbackCulture>en-US</FallbackCulture> 11 11 <VerifyUploadedFiles>false</VerifyUploadedFiles> 12 <ProjectView> ShowAllFiles</ProjectView>12 <ProjectView>ProjectFiles</ProjectView> 13 13 </PropertyGroup> 14 14 </Project> -
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Calendar/3.3/Properties
-
Property
svn:ignore
set to
AssemblyInfo.cs
-
Property
svn:ignore
set to
-
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/ILifecycleManager.cs
r4772 r4791 50 50 event EventHandler Stopped; 51 51 52 IEnumerable<PluginDescription> Plugins { get; set;}52 IEnumerable<PluginDescription> Plugins { get;} 53 53 } 54 54 } -
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.ExperimentManager/3.3/HiveJob.cs
r4760 r4791 136 136 : this() { 137 137 this.Job = new OptimizerJob(optimizer); 138 this.IsFinishedOptimizerDownloaded = false; 138 139 } 139 140 public HiveJob(SerializedJob serializedJob, bool autoCreateChildHiveJobs) -
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/LifecycleManager.cs
r4772 r4791 26 26 using System.Collections.Generic; 27 27 using HeuristicLab.PluginInfrastructure.Manager; 28 using System.IO; 28 29 29 30 namespace HeuristicLab.Hive.Server.Core { … … 32 33 private Thread thread; 33 34 private bool shutdownRequested; 35 private PluginManager pm; 34 36 35 37 private TimeSpan interval = new TimeSpan(0, 0, 10); … … 52 54 private IEnumerable<PluginDescription> plugins; 53 55 public IEnumerable<PluginDescription> Plugins { 54 get { return plugins; } 55 set { plugins = value; } 56 get { return pm.Plugins; } 56 57 } 57 58 … … 59 60 60 61 public void Start() { 62 LoadPlugins(); 61 63 Thread thread = new Thread(RunHeartbeatThread); 62 64 thread.Start(); … … 64 66 OnStarted(); 65 67 } 68 } 69 70 private void LoadPlugins() { 71 pm = new PluginManager(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data\\Plugins")); 72 pm.DiscoverAndCheckPlugins(); 73 pm.InitializeLifetimeService(); 74 66 75 } 67 76 -
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/ServiceLocator.cs
r4710 r4791 91 91 //lifecycleManager = ApplicationManager.Manager.GetInstances<ILifecycleManager>().First(); 92 92 lifecycleManager = new LifecycleManager(); 93 lifecycleManager.Start(); 93 94 } 94 95 return lifecycleManager; -
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HiveWeb/App_Code/HiveServerModule.cs
r4772 r4791 20 20 lock (locker) { 21 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 22 lifecycleManager = ServiceLocator.GetLifecycleManager(); 27 lifecycleManager.Plugins = pm.Plugins;28 lifecycleManager.Start();29 23 } 30 24 }
Note: See TracChangeset
for help on using the changeset viewer.