Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Finkbeiner2011-10-24 18:24:16 +0000
committerRoberto E. Escobar2011-10-24 18:24:16 +0000
commitcce70701b2a857bae234537715ab65f5e226c9f2 (patch)
tree06c06b229175fce1f36709bffc47758679c074a9 /plugins/org.eclipse.osee.framework.core.datastore
parentf45d8c0ce30df5da8c1fccf21fbe43d4d5638245 (diff)
downloadorg.eclipse.osee-cce70701b2a857bae234537715ab65f5e226c9f2.tar.gz
org.eclipse.osee-cce70701b2a857bae234537715ab65f5e226c9f2.tar.xz
org.eclipse.osee-cce70701b2a857bae234537715ab65f5e226c9f2.zip
feature[ats_PX09C]: Update db connection services and type loading so multiple H2 tests can run
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.datastore')
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/OseeCachingServiceRegistrationHandler.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/OseeCachingServiceRegistrationHandler.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/OseeCachingServiceRegistrationHandler.java
index cab21d7a58e..80012ecbd7a 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/OseeCachingServiceRegistrationHandler.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/OseeCachingServiceRegistrationHandler.java
@@ -41,7 +41,6 @@ public class OseeCachingServiceRegistrationHandler extends AbstractTrackingHandl
IDataTranslationService.class,
IApplicationServerLookup.class,
IApplicationServerManager.class,
-// IOseeModelingService.class,
IResourceLocatorManager.class,
IResourceManager.class,
IdentityService.class,
@@ -59,7 +58,7 @@ public class OseeCachingServiceRegistrationHandler extends AbstractTrackingHandl
@Override
public void onActivate(BundleContext context, Map<Class<?>, Object> services) {
IOseeCachingServiceFactory factory = createCachingFactoryService(context, services);
- IOseeCachingService cachingService = factory.createCachingService();
+ IOseeCachingService cachingService = factory.createCachingService(true);
factoryRegistration = context.registerService(IOseeCachingServiceFactory.class.getName(), factory, null);
cachingServiceRegistration = context.registerService(IOseeCachingService.class.getName(), cachingService, null);
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java
index 176ab66911c..caab150cefe 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java
@@ -64,7 +64,7 @@ public class ServerOseeCachingServiceFactory implements IOseeCachingServiceFacto
}
@Override
- public IOseeCachingService createCachingService() {
+ public IOseeCachingService createCachingService(boolean needsPriming) {
TransactionCache txCache = new TransactionCache();
IBranchUpdateEvent branchEventSender = new BranchUpdateEventImpl(translationService, appManager, serverLookUp);
BranchCache branchCache =

Back to the top