public abstract class SingletonAssembler extends Object implements Assembler
Assembler.assemble(ModuleAssembly) method.
Once the SingletonAssembler is instantiated it will have created and activated
an Application which can be accessed from application().
You can also easily access any resources specific for the single Module, such as the TransientBuilderFactory.| Constructor and Description |
|---|
SingletonAssembler()
Creates a Zest Runtime instance containing one Layer with one Module.
|
| Modifier and Type | Method and Description |
|---|---|
Application |
application() |
protected void |
beforeActivation(Application application) |
Module |
module() |
Qi4j |
runtime() |
public SingletonAssembler()
throws AssemblyException,
ActivationException
AssemblyException - Either if the model can not be created from the disk, or some inconsistency in
the programming model makes it impossible to create it.ActivationException - If the automatic activate() method is throwing this Exception..public final Qi4j runtime()
public final Application application()
public final Module module()
protected void beforeActivation(Application application) throws Exception
Exception