public class AbstractAnyQueryTest extends AbstractPolygeneTest
Modifier and Type | Field and Description |
---|---|
protected UnitOfWork |
unitOfWork |
module, objectFactory, queryBuilderFactory, serviceFinder, transientBuilderFactory, unitOfWorkFactory, valueBuilderFactory
api, application, applicationModel, notYetImplementedRule, polygene, spi
Constructor and Description |
---|
AbstractAnyQueryTest() |
Modifier and Type | Method and Description |
---|---|
void |
assemble(ModuleAssembly module)
Assemblers receive a callback to the ModuleAssembly
they are supposed to configure.
|
protected void |
assembleEntities(ModuleAssembly module,
Visibility visibility) |
protected void |
assembleValues(ModuleAssembly module,
Visibility visibility) |
void |
setUp() |
void |
tearDown() |
defineApplication
assemblyException, initApplication, newApplicationInstance, newApplicationModel
protected UnitOfWork unitOfWork
public void assemble(ModuleAssembly module)
Assembler
An Assembler may create new Modules by calling
ModuleAssembly.layer()
and
then LayerAssembly.module(String)
(String)}.
This allows an Assembler to bootstrap an entire Layer with
more Modules.
module
- the Module to assembleprotected void assembleEntities(ModuleAssembly module, Visibility visibility)
protected void assembleValues(ModuleAssembly module, Visibility visibility)
public void setUp() throws Exception
setUp
in class AbstractPolygeneTest
Exception
public void tearDown() throws Exception
tearDown
in class AbstractPolygeneTest
Exception