Search in sources :

Example 1 with HazelcastEntityStoreAssembler

use of org.qi4j.entitystore.hazelcast.assembly.HazelcastEntityStoreAssembler in project qi4j-sdk by Qi4j.

the class HazelcastEntityStoreTest method assemble.

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

Aggregations

ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 HazelcastEntityStoreAssembler (org.qi4j.entitystore.hazelcast.assembly.HazelcastEntityStoreAssembler)1 EntityTestAssembler (org.qi4j.test.EntityTestAssembler)1 OrgJsonValueSerializationAssembler (org.qi4j.valueserialization.orgjson.OrgJsonValueSerializationAssembler)1