Search in sources :

Example 1 with FileEntityStoreAssembler

use of org.qi4j.entitystore.file.assembly.FileEntityStoreAssembler in project qi4j-sdk by Qi4j.

the class FileEntityStoreTest method assemble.

@Override
public // START SNIPPET: assembly
void assemble(ModuleAssembly module) throws AssemblyException {
    // END SNIPPET: assembly
    super.assemble(module);
    module.services(FileConfigurationService.class);
    ModuleAssembly config = module.layer().module("config");
    new EntityTestAssembler().assemble(config);
    new OrgJsonValueSerializationAssembler().assemble(module);
    // START SNIPPET: assembly
    new FileEntityStoreAssembler().withConfig(config, Visibility.layer).assemble(module);
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) FileEntityStoreAssembler(org.qi4j.entitystore.file.assembly.FileEntityStoreAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler) OrgJsonValueSerializationAssembler(org.qi4j.valueserialization.orgjson.OrgJsonValueSerializationAssembler)

Aggregations

ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 FileEntityStoreAssembler (org.qi4j.entitystore.file.assembly.FileEntityStoreAssembler)1 EntityTestAssembler (org.qi4j.test.EntityTestAssembler)1 OrgJsonValueSerializationAssembler (org.qi4j.valueserialization.orgjson.OrgJsonValueSerializationAssembler)1