private void assembleInfrastructureLayer(LayerAssembly infrastructureLayer) throws AssemblyException { ModuleAssembly indexingModule = infrastructureLayer.module("INFRASTRUCTURE-Indexing"); indexingModule.objects(EntityStateSerializer.class, EntityTypeSerializer.class); indexingModule .addServices(MemoryRepositoryService.class, RdfIndexingEngineService.class) .visibleIn(application); ModuleAssembly entityStoreModule = infrastructureLayer.module("INFRASTRUCTURE-EntityStore"); entityStoreModule .addServices(MemoryEntityStoreService.class, UuidIdentityGeneratorService.class) .visibleIn(application); ModuleAssembly externalServiceModule = infrastructureLayer.module("INFRASTRUCTURE-ExternalService"); externalServiceModule .importedServices(GraphTraversalService.class) .setMetaInfo(new GraphTraversalServiceImpl(new GraphDAO())) .visibleIn(application); }