Changeset 962 for trunk/sources
- Timestamp:
- 12/11/08 15:21:38 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IJobAdapter.cs
r961 r962 27 27 28 28 namespace HeuristicLab.Hive.Server.Core.InternalInterfaces.DataAccess { 29 interface IJobAdapter {29 public interface IJobAdapter { 30 30 /// <summary> 31 31 /// Save or update the job -
trunk/sources/HeuristicLab.Hive.Server.Core/ServiceLocator.cs
r948 r962 45 45 46 46 private static IPermissionOwnerAdapter permOwnerAdapter = null; 47 48 private static IJobAdapter jobAdapter = null; 47 49 48 50 /// <summary> … … 136 138 return permOwnerAdapter; 137 139 } 140 141 /// <summary> 142 /// Gets the job database adapter 143 /// </summary> 144 /// <returns></returns> 145 [MethodImpl(MethodImplOptions.Synchronized)] 146 public static IJobAdapter GetJobAdapter() { 147 if (jobAdapter == null) { 148 jobAdapter = discoveryService.GetInstances<IJobAdapter>()[0]; 149 } 150 151 return jobAdapter; 152 } 138 153 }
Note: See TracChangeset
for help on using the changeset viewer.