org.qi4j.entitystore.sql.assembly
Class MySQLEntityStoreAssembler

java.lang.Object
  extended by org.qi4j.entitystore.sql.assembly.MySQLEntityStoreAssembler
All Implemented Interfaces:
Assembler

public class MySQLEntityStoreAssembler
extends java.lang.Object

MySQL EntityStore assembly.


Field Summary
static java.lang.String DEFAULT_ENTITYSTORE_IDENTITY
           
 
Constructor Summary
MySQLEntityStoreAssembler()
           
 
Method Summary
 void assemble(ModuleAssembly module)
          Assemblers receive a callback to the ModuleAssembly they are supposed to configure.
protected  java.lang.Class<?> getDatabaseSQLServiceSpecializationMixin()
           
protected  java.lang.Class<?> getDatabaseStringBuilderMixin()
           
protected  org.sql.generation.api.vendor.SQLVendor getSQLVendor()
           
 T identifiedBy(java.lang.String identity)
           
 T visibleIn(Visibility visibility)
           
 T withConfig(ModuleAssembly configModule)
           
 T withConfigVisibility(Visibility configVisibility)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENTITYSTORE_IDENTITY

public static final java.lang.String DEFAULT_ENTITYSTORE_IDENTITY
See Also:
Constant Field Values
Constructor Detail

MySQLEntityStoreAssembler

public MySQLEntityStoreAssembler()
Method Detail

getDatabaseSQLServiceSpecializationMixin

protected java.lang.Class<?> getDatabaseSQLServiceSpecializationMixin()

getSQLVendor

protected org.sql.generation.api.vendor.SQLVendor getSQLVendor()
                                                        throws java.io.IOException
Throws:
java.io.IOException

identifiedBy

public T identifiedBy(java.lang.String identity)

visibleIn

public T visibleIn(Visibility visibility)

withConfig

public T withConfig(ModuleAssembly configModule)

withConfigVisibility

public T withConfigVisibility(Visibility configVisibility)

getDatabaseStringBuilderMixin

protected java.lang.Class<?> getDatabaseStringBuilderMixin()

assemble

public final 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.

Specified by:
assemble in interface Assembler
Parameters:
module - the Module to assemble
Throws:
AssemblyException - thrown if the assembler tries to do something illegal