org.qi4j.test.indexing
Class AbstractAnyQueryTest

java.lang.Object
  extended by org.qi4j.test.AbstractQi4jTest
      extended by org.qi4j.test.indexing.AbstractAnyQueryTest
All Implemented Interfaces:
Assembler
Direct Known Subclasses:
AbstractComplexQueryTest, AbstractEntityFinderTest, AbstractNamedQueryTest, AbstractQueryTest

public class AbstractAnyQueryTest
extends AbstractQi4jTest


Field Summary
protected  UnitOfWork unitOfWork
           
 
Fields inherited from class org.qi4j.test.AbstractQi4jTest
api, application, applicationModel, moduleInstance, objectBuilderFactory, qi4j, queryBuilderFactory, serviceLocator, spi, transientBuilderFactory, unitOfWorkFactory, valueBuilderFactory
 
Constructor Summary
AbstractAnyQueryTest()
           
 
Method Summary
 void assemble(ModuleAssembly module)
          Assemblers receive a callback to the ModuleAssembly they are supposed to configure.
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class org.qi4j.test.AbstractQi4jTest
assemblyException, getLog, initApplication, newApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unitOfWork

protected UnitOfWork unitOfWork
Constructor Detail

AbstractAnyQueryTest

public AbstractAnyQueryTest()
Method Detail

assemble

public void assemble(ModuleAssembly module)
              throws AssemblyException
Description copied from interface: Assembler
Assemblers receive a callback to the ModuleAssembly they are supposed to configure. They can use this to register objects, composites, services etc. and the additional metadata that may exist for these artifacts.

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.

Parameters:
module - the Module to assemble
Throws:
AssemblyException - thrown if the assembler tries to do something illegal

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractQi4jTest
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class AbstractQi4jTest
Throws:
Exception