org.qi4j.entitystore.riak
Class RiakProtobufMapEntityStoreAssembler

java.lang.Object
  extended by org.qi4j.entitystore.riak.RiakProtobufMapEntityStoreAssembler
All Implemented Interfaces:
Assembler

public class RiakProtobufMapEntityStoreAssembler
extends java.lang.Object
implements Assembler

Riak Protobuf EntityStore assembly.


Constructor Summary
RiakProtobufMapEntityStoreAssembler()
           
 
Method Summary
 void assemble(ModuleAssembly module)
          Assemblers receive a callback to the ModuleAssembly they are supposed to configure.
 RiakProtobufMapEntityStoreAssembler withConfigModule(ModuleAssembly configModule)
           
 RiakProtobufMapEntityStoreAssembler withConfigVisibility(Visibility configVisibility)
           
 RiakProtobufMapEntityStoreAssembler withVisibility(Visibility visibility)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiakProtobufMapEntityStoreAssembler

public RiakProtobufMapEntityStoreAssembler()
Method Detail

withVisibility

public RiakProtobufMapEntityStoreAssembler withVisibility(Visibility visibility)

withConfigModule

public RiakProtobufMapEntityStoreAssembler withConfigModule(ModuleAssembly configModule)

withConfigVisibility

public RiakProtobufMapEntityStoreAssembler withConfigVisibility(Visibility configVisibility)

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.

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