Changeset 4267 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/DaoLocator.cs
- Timestamp:
- 08/19/10 15:47:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/DaoLocator.cs
r4092 r4267 8 8 public class DaoLocator { 9 9 10 [ThreadStatic] private static I ClientDao clientDao;11 [ThreadStatic] private static I ClientConfigDao clientConfigDao;12 [ThreadStatic] private static I ClientGroupDao clientGroupDao;10 [ThreadStatic] private static ISlaveDao clientDao; 11 [ThreadStatic] private static ISlaveConfigDao clientConfigDao; 12 [ThreadStatic] private static ISlaveGroupDao clientGroupDao; 13 13 [ThreadStatic] private static IJobDao jobDao; 14 14 [ThreadStatic] private static IPluginInfoDao pluginInfoDao; 15 15 [ThreadStatic] private static IUptimeCalendarDao uptimeCalendarDao; 16 16 17 public static I ClientDao ClientDao {17 public static ISlaveDao SlaveDao { 18 18 get { 19 19 if (clientDao == null) 20 clientDao = new ClientDao();20 clientDao = new SlaveDao(); 21 21 return clientDao; 22 22 } 23 23 } 24 24 25 public static I ClientConfigDao ClientConfigDao {25 public static ISlaveConfigDao SlaveConfigDao { 26 26 get { 27 27 if(clientConfigDao == null) 28 clientConfigDao = new ClientConfigDao();28 clientConfigDao = new SlaveConfigDao(); 29 29 return clientConfigDao; 30 30 } 31 31 } 32 32 33 public static I ClientGroupDao ClientGroupDao {33 public static ISlaveGroupDao SlaveGroupDao { 34 34 get { 35 35 if(clientGroupDao == null) 36 clientGroupDao = new ClientGroupDao();36 clientGroupDao = new SlaveGroupDao(); 37 37 return clientGroupDao; 38 38 }
Note: See TracChangeset
for help on using the changeset viewer.