Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/10 18:55:46 (15 years ago)
Author:
gkronber
Message:

Fixed projects to work with new plugin infrastructure. #799

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  
    2626
    2727namespace 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")]
    3636  public class HeuristicLabGridPlugin : PluginBase {
    3737  }
  • branches/PluginInfrastructure Refactoring/HeuristicLab.Grid.HiveBridge/3.2/HiveGridServerWrapper.cs

    r2114 r2587  
    131131      stream.Close();
    132132
    133       DiscoveryService service = new DiscoveryService();
    134       List<PluginInfo> plugins = new List<PluginInfo>();
     133      List<IPluginDescription> plugins = new List<IPluginDescription>();
    135134
    136135      foreach (IStorable storeable in dictionary.Values) {
    137         PluginInfo pluginInfo = service.GetDeclaringPlugin(storeable.GetType());
     136        IPluginDescription pluginInfo = ApplicationManager.Manager.GetDeclaringPlugin(storeable.GetType());
    138137        if (!plugins.Contains(pluginInfo)) {
    139138          plugins.Add(pluginInfo);
     
    144143      }
    145144
    146       foreach (PluginInfo uniquePlugin in plugins) {
     145      foreach (IPluginDescription uniquePlugin in plugins) {
    147146        HivePluginInfo pluginInfo =
    148147          new HivePluginInfo();
Note: See TracChangeset for help on using the changeset viewer.