- Timestamp:
- 12/17/08 14:46:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/ServiceLocator.cs
r962 r1005 47 47 48 48 private static IJobAdapter jobAdapter = null; 49 50 private static IJobResultsAdapter jobResultsAdapter = null; 49 51 50 52 /// <summary> … … 151 153 return jobAdapter; 152 154 } 155 156 /// <summary> 157 /// Gets the job results database adapter 158 /// </summary> 159 /// <returns></returns> 160 [MethodImpl(MethodImplOptions.Synchronized)] 161 public static IJobResultsAdapter GetJobResultsAdapter() { 162 if (jobResultsAdapter == null) { 163 jobResultsAdapter = discoveryService.GetInstances<IJobResultsAdapter>()[0]; 164 } 165 166 return jobResultsAdapter; 167 } 153 168 }
Note: See TracChangeset
for help on using the changeset viewer.