diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/internal/ServerOseeCachingServiceFactory.java | 15 |
1 files changed, 8 insertions, 7 deletions
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 9972eb9f650..21dc662d292 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 @@ -54,29 +54,30 @@ public class ServerOseeCachingServiceFactory implements IOseeCachingServiceFacto this.appManager = appManager; } + @Override public IOseeCachingService createCachingService() { OseeEnumTypeCache oseeEnumTypeCache = - new OseeEnumTypeCache(new DatabaseOseeEnumTypeAccessor(databaseProvider, factoryProvider)); + new OseeEnumTypeCache(new DatabaseOseeEnumTypeAccessor(databaseProvider, factoryProvider)); IOseeDataAccessor<AttributeType> attrAccessor = - new DatabaseAttributeTypeAccessor(databaseProvider, factoryProvider, oseeEnumTypeCache); + new DatabaseAttributeTypeAccessor(databaseProvider, factoryProvider, oseeEnumTypeCache); AttributeTypeCache attributeCache = new AttributeTypeCache(attrAccessor); TransactionCache txCache = new TransactionCache(); IBranchUpdateEvent branchEventSender = new BranchUpdateEventImpl(txProvider, appManager, serverLookUpProvider); BranchCache branchCache = - new BranchCache(new DatabaseBranchAccessor(databaseProvider, factoryProvider, branchEventSender, txCache)); + new BranchCache(new DatabaseBranchAccessor(databaseProvider, factoryProvider, branchEventSender, txCache)); txCache.setAccessor(new DatabaseTransactionRecordAccessor(databaseProvider, factoryProvider, branchCache)); ArtifactTypeCache artifactCache = - new ArtifactTypeCache(new DatabaseArtifactTypeAccessor(databaseProvider, factoryProvider, branchCache, - attributeCache)); + new ArtifactTypeCache(new DatabaseArtifactTypeAccessor(databaseProvider, factoryProvider, branchCache, + attributeCache)); RelationTypeCache relationCache = - new RelationTypeCache(new DatabaseRelationTypeAccessor(databaseProvider, factoryProvider, artifactCache)); + new RelationTypeCache(new DatabaseRelationTypeAccessor(databaseProvider, factoryProvider, artifactCache)); return new OseeCachingService(branchCache, txCache, artifactCache, attributeCache, relationCache, - oseeEnumTypeCache); + oseeEnumTypeCache); } } |