public abstract class AbstractPooledDataSourceServiceAssembler<AssemblerType> extends Assemblers.VisibilityIdentityConfig<AssemblerType>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DATASOURCE_SERVICE_IDENTITY |
Constructor and Description |
---|
AbstractPooledDataSourceServiceAssembler() |
Modifier and Type | Method and Description |
---|---|
void |
assemble(ModuleAssembly module)
Assemblers receive a callback to the ModuleAssembly
they are supposed to configure.
|
protected abstract void |
onAssemble(ModuleAssembly module,
String identity,
Visibility visibility) |
configModule, configVisibility, hasConfig, hasIdentity, identifiedBy, identity, visibility, visibleIn, withConfig
public static String DEFAULT_DATASOURCE_SERVICE_IDENTITY
public AbstractPooledDataSourceServiceAssembler()
public final void assemble(ModuleAssembly module) throws AssemblyException
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 assembleAssemblyException
- thrown if the assembler tries to do something illegalprotected abstract void onAssemble(ModuleAssembly module, String identity, Visibility visibility)