Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 10:31:40 (15 years ago)
Author:
gkronber
Message:

Copied refactored plugin infrastructure from branch and merged changeset r2586:2589 from branch into the trunk. #799

Location:
trunk/sources/HeuristicLab.Grid.HiveBridge/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Grid.HiveBridge/3.2/HeuristicLabGridHiveBridgePlugin.cs

    r2073 r2591  
    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  }
  • trunk/sources/HeuristicLab.Grid.HiveBridge/3.2/HiveGridServerWrapper.cs

    r2114 r2591  
    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.