use of org.qi4j.envisage.school.infrastructure.persistence.PersistenceAssembler in project qi4j-sdk by Qi4j.
the class SchoolAssembler method createInfrastructureLayer.
private LayerAssembly createInfrastructureLayer(ApplicationAssembly appAssembly) throws AssemblyException {
LayerAssembly layerInfrastructure = appAssembly.layer("Infrastructure");
ModuleAssembly moduleMail = layerInfrastructure.module("Mail");
new MailServiceAssembler().assemble(moduleMail);
ModuleAssembly modulePersistence = layerInfrastructure.module("Persistence");
new PersistenceAssembler().assemble(modulePersistence);
return layerInfrastructure;
}
Aggregations