Changeset 1768
- Timestamp:
- 05/08/09 14:11:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ServiceLocator.cs
r1648 r1768 51 51 private static IPermissionManager permManager = null; 52 52 53 private static IHivePermissionManager hivePermManager = null; 54 53 55 /// <summary> 54 56 /// Gets the client manager … … 96 98 lifecycleManager = new LifecycleManager(); 97 99 } 98 99 100 return lifecycleManager; 100 101 } … … 144 145 145 146 } 147 148 /// <summary> 149 /// Gets the permission manager 150 /// </summary> 151 /// <returns></returns> 152 [MethodImpl(MethodImplOptions.Synchronized)] 153 public static IHivePermissionManager GetHivePermissionManager() { 154 if (hivePermManager == null) 155 hivePermManager = discoveryService.GetInstances<IHivePermissionManager>()[0]; 156 return hivePermManager; 157 158 } 146 159 }
Note: See TracChangeset
for help on using the changeset viewer.