use of org.qi4j.entitystore.memory.MemoryEntityStoreAssembler in project qi4j-sdk by Qi4j.
the class MemoryEntityStorePerformanceTest method createAssembler.
private static Assembler createAssembler() {
return new Assembler() {
@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
new MemoryEntityStoreAssembler().assemble(module);
new OrgJsonValueSerializationAssembler().assemble(module);
}
};
}
use of org.qi4j.entitystore.memory.MemoryEntityStoreAssembler in project qi4j-sdk by Qi4j.
the class QueryPerformanceTest method createInfrastructureLayer.
private LayerAssembly createInfrastructureLayer(ApplicationAssembly applicationAssembly) throws AssemblyException {
LayerAssembly infrastructureLayer = applicationAssembly.layer(LAYER_INFRASTRUCTURE);
// Persistence module
ModuleAssembly persistenceModule = infrastructureLayer.module(MODULE_PERSISTENCE);
// Indexing
new RdfNativeSesameStoreAssembler().assemble(persistenceModule);
// Entity store
new OrgJsonValueSerializationAssembler().assemble(persistenceModule);
new MemoryEntityStoreAssembler().visibleIn(Visibility.application).assemble(persistenceModule);
return infrastructureLayer;
}
Aggregations