Search in sources :

Example 1 with SchedulerAssembler

use of org.qi4j.library.scheduler.bootstrap.SchedulerAssembler in project qi4j-sdk by Qi4j.

the class SchedulerTest method onAssembly.

@Override
protected void onAssembly(ModuleAssembly testAssembly) throws AssemblyException {
    ModuleAssembly moduleAssembly = testAssembly;
    ModuleAssembly configModuleAssembly = testAssembly;
    // START SNIPPET: assembly
    new SchedulerAssembler().visibleIn(Visibility.application).withConfig(configModuleAssembly, Visibility.layer).withTimeline().assemble(moduleAssembly);
// END SNIPPET: assembly
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) SchedulerAssembler(org.qi4j.library.scheduler.bootstrap.SchedulerAssembler)

Aggregations

ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 SchedulerAssembler (org.qi4j.library.scheduler.bootstrap.SchedulerAssembler)1