- Timestamp:
- 01/04/10 18:55:46 (15 years ago)
- Location:
- branches/PluginInfrastructure Refactoring/HeuristicLab.Grid.HiveBridge/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab.Grid.HiveBridge/3.2/HeuristicLabGridHiveBridgePlugin.cs
r2073 r2587 26 26 27 27 namespace HeuristicLab.Grid.HiveBridge { 28 [ ClassInfo(Name ="HeuristicLab.Grid.HiveBridge-3.2")]29 [PluginFile( Filename = "HeuristicLab.Grid.HiveBridge-3.2.dll", Filetype =PluginFileType.Assembly)]30 [ Dependency(Dependency ="HeuristicLab.Core-3.2")]31 [ Dependency(Dependency ="HeuristicLab.Grid-3.2")]32 [ Dependency(Dependency ="HeuristicLab.Hive.Contracts-3.2")]33 [ Dependency(Dependency ="HeuristicLab.Hive.JobBase-3.2")]34 [ Dependency(Dependency ="HeuristicLab.Hive.Engine-3.2")]35 [ Dependency(Dependency ="HeuristicLab.Tracing-3.2")]28 [Plugin("HeuristicLab.Grid.HiveBridge-3.2")] 29 [PluginFile("HeuristicLab.Grid.HiveBridge-3.2.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.Core-3.2")] 31 [PluginDependency("HeuristicLab.Grid-3.2")] 32 [PluginDependency("HeuristicLab.Hive.Contracts-3.2")] 33 [PluginDependency("HeuristicLab.Hive.JobBase-3.2")] 34 [PluginDependency("HeuristicLab.Hive.Engine-3.2")] 35 [PluginDependency("HeuristicLab.Tracing-3.2")] 36 36 public class HeuristicLabGridPlugin : PluginBase { 37 37 } -
branches/PluginInfrastructure Refactoring/HeuristicLab.Grid.HiveBridge/3.2/HiveGridServerWrapper.cs
r2114 r2587 131 131 stream.Close(); 132 132 133 DiscoveryService service = new DiscoveryService(); 134 List<PluginInfo> plugins = new List<PluginInfo>(); 133 List<IPluginDescription> plugins = new List<IPluginDescription>(); 135 134 136 135 foreach (IStorable storeable in dictionary.Values) { 137 PluginInfo pluginInfo = service.GetDeclaringPlugin(storeable.GetType());136 IPluginDescription pluginInfo = ApplicationManager.Manager.GetDeclaringPlugin(storeable.GetType()); 138 137 if (!plugins.Contains(pluginInfo)) { 139 138 plugins.Add(pluginInfo); … … 144 143 } 145 144 146 foreach ( PluginInfouniquePlugin in plugins) {145 foreach (IPluginDescription uniquePlugin in plugins) { 147 146 HivePluginInfo pluginInfo = 148 147 new HivePluginInfo();
Note: See TracChangeset
for help on using the changeset viewer.