Search in sources :

Example 1 with PersistenceConfigAssembler

use of org.qi4j.envisage.school.config.persistence.PersistenceConfigAssembler in project qi4j-sdk by Qi4j.

the class SchoolAssembler method createConfigLayer.

private LayerAssembly createConfigLayer(ApplicationAssembly appAssembly) throws AssemblyException {
    LayerAssembly layerConfig = appAssembly.layer("configuration");
    ModuleAssembly persistenceConfig = layerConfig.module("persistence");
    new PersistenceConfigAssembler().assemble(persistenceConfig);
    return layerConfig;
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) PersistenceConfigAssembler(org.qi4j.envisage.school.config.persistence.PersistenceConfigAssembler) LayerAssembly(org.qi4j.bootstrap.LayerAssembly)

Aggregations

LayerAssembly (org.qi4j.bootstrap.LayerAssembly)1 ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 PersistenceConfigAssembler (org.qi4j.envisage.school.config.persistence.PersistenceConfigAssembler)1