Changeset 2591 for trunk/sources/HeuristicLab.Hive.Engine
- Timestamp:
- 01/05/10 10:31:40 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Engine/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Engine/3.2/HeuristicLabHiveEnginePlugin.cs
r2474 r2591 29 29 /// Plugin class for HeuristicLab.Hive.Engine plugin. 30 30 /// </summary> 31 [ ClassInfo(Name ="HeuristicLab.Hive.Engine-3.2")]32 [PluginFile( Filename = "HeuristicLab.Hive.Engine-3.2.dll", Filetype =PluginFileType.Assembly)]33 [ Dependency(Dependency ="HeuristicLab.Common-3.2")]34 [ Dependency(Dependency ="HeuristicLab.Core-3.2")]35 [ Dependency(Dependency ="HeuristicLab.Data-3.2")]36 [ Dependency(Dependency ="HeuristicLab.DataAccess-3.2")]37 [ Dependency(Dependency ="HeuristicLab.Hive.Contracts-3.2")]38 [ Dependency(Dependency ="HeuristicLab.Hive.JobBase-3.2")]39 [ Dependency(Dependency ="HeuristicLab.SequentialEngine-3.2")]40 [ Dependency(Dependency ="HeuristicLab.Tracing-3.2")]31 [Plugin("HeuristicLab.Hive.Engine-3.2")] 32 [PluginFile("HeuristicLab.Hive.Engine-3.2.dll", PluginFileType.Assembly)] 33 [PluginDependency("HeuristicLab.Common-3.2")] 34 [PluginDependency("HeuristicLab.Core-3.2")] 35 [PluginDependency("HeuristicLab.Data-3.2")] 36 [PluginDependency("HeuristicLab.DataAccess-3.2")] 37 [PluginDependency("HeuristicLab.Hive.Contracts-3.2")] 38 [PluginDependency("HeuristicLab.Hive.JobBase-3.2")] 39 [PluginDependency("HeuristicLab.SequentialEngine-3.2")] 40 [PluginDependency("HeuristicLab.Tracing-3.2")] 41 41 public class HeuristicLabHiveEnginePlugin : PluginBase { 42 42 } -
trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs
r2474 r2591 125 125 126 126 job = restoredJob; 127 PluginManager.ControlManager.ShowControl(job.Engine.CreateView());127 ControlManager.Manager.ShowControl(job.Engine.CreateView()); 128 128 OnChanged(); 129 129 OnFinished(); … … 168 168 HiveLogger.Debug("HiveEngine: Results-polling - Got result!"); 169 169 job = (Job)PersistenceManager.RestoreFromGZip(jobResult.SerializedJobResultData); 170 PluginManager.ControlManager.ShowControl(job.Engine.CreateView());170 ControlManager.Manager.ShowControl(job.Engine.CreateView()); 171 171 } 172 172 //HiveLogger.Debug("HiveEngine: Results-polling - Exception!"); … … 218 218 executableJobObj.SerializedJobData = memStream.ToArray(); 219 219 220 DiscoveryService service = new DiscoveryService(); 221 List<PluginInfo> plugins = new List<PluginInfo>(); 220 List<IPluginDescription> plugins = new List<IPluginDescription>(); 222 221 223 222 foreach (IStorable storeable in dictionary.Values) { 224 PluginInfo pluginInfo = service.GetDeclaringPlugin(storeable.GetType());223 IPluginDescription pluginInfo = ApplicationManager.Manager.GetDeclaringPlugin(storeable.GetType()); 225 224 if (!plugins.Contains(pluginInfo)) { 226 225 plugins.Add(pluginInfo); … … 233 232 List<HivePluginInfo> pluginsNeeded = 234 233 new List<HivePluginInfo>(); 235 foreach ( PluginInfouniquePlugin in plugins) {234 foreach (IPluginDescription uniquePlugin in plugins) { 236 235 HivePluginInfo pluginInfo = 237 236 new HivePluginInfo();
Note: See TracChangeset
for help on using the changeset viewer.