Search in sources :

Example 1 with MailServiceAssembler

use of org.qi4j.envisage.school.infrastructure.mail.assembly.MailServiceAssembler 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;
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) MailServiceAssembler(org.qi4j.envisage.school.infrastructure.mail.assembly.MailServiceAssembler) PersistenceAssembler(org.qi4j.envisage.school.infrastructure.persistence.PersistenceAssembler) LayerAssembly(org.qi4j.bootstrap.LayerAssembly)

Aggregations

LayerAssembly (org.qi4j.bootstrap.LayerAssembly)1 ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 MailServiceAssembler (org.qi4j.envisage.school.infrastructure.mail.assembly.MailServiceAssembler)1 PersistenceAssembler (org.qi4j.envisage.school.infrastructure.persistence.PersistenceAssembler)1