- Timestamp:
- 09/25/15 14:39:59 (9 years ago)
- Location:
- branches/gteufl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gteufl
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 25 obj
-
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
- Property svn:ignore
-
branches/gteufl/HeuristicLab.Services.Hive
- Property svn:mergeinfo changed
-
branches/gteufl/HeuristicLab.Services.Hive/3.3/ServiceLocator.cs
r9665 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Services.Hive.DataAccess; 23 using HeuristicLab.Services.Hive.DataAccess.Interfaces; 24 using HeuristicLab.Services.Hive.DataAccess.Manager; 25 using HeuristicLab.Services.Hive.Manager; 23 26 24 27 namespace HeuristicLab.Services.Hive { 25 26 28 public class ServiceLocator : IServiceLocator { 27 29 private static IServiceLocator instance; … … 34 36 } 35 37 36 private IHiveDao hiveDao; 37 public IHiveDao HiveDao { 38 get { 39 if (hiveDao == null) hiveDao = new HiveDao(); 40 return hiveDao; 41 } 42 } 43 44 public IOptimizedHiveDao OptimizedHiveDao { 38 public IPersistenceManager PersistenceManager { 45 39 get { 46 40 var dataContext = HiveOperationContext.Current != null 47 41 ? HiveOperationContext.Current.DataContext 48 42 : new HiveDataContext(Settings.Default.HeuristicLab_Hive_LinqConnectionString); 49 return new OptimizedHiveDao(dataContext);43 return new PersistenceManager(dataContext); 50 44 } 51 45 } … … 75 69 } 76 70 77 private ITransactionManager transactionManager; 78 public ITransactionManager TransactionManager { 79 get { 80 if (transactionManager == null) transactionManager = new TransactionManager(); 81 return transactionManager; 82 } 71 private IStatisticsGenerator statisticsGenerator; 72 public IStatisticsGenerator StatisticsGenerator { 73 get { return statisticsGenerator ?? (statisticsGenerator = new HiveStatisticsGenerator()); } 83 74 } 84 75
Note: See TracChangeset
for help on using the changeset viewer.