@Service(value=IdSourceConfigurator.class) public class DefaultIdSourceConfigurator extends Object implements IdSourceConfigurator
IdSourceConfigurator.
There are 2 configuration options:
| Modifier and Type | Field and Description |
|---|---|
static String |
SEQUENCE_BASED
sequence-based id source.
|
static String |
TABLE_BASED
table-based id source.
|
| Constructor and Description |
|---|
DefaultIdSourceConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
IdSource |
configure(Db db,
String idConfig)
Connect to the ID-Source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstancepublic static final String TABLE_BASED
public static final String SEQUENCE_BASED
public IdSource configure(Db db, String idConfig)
IdSourceConfiguratorconfigure in interface IdSourceConfiguratordb - the db connectionidConfig - the configurationCopyright © 2016 Krake Softwaretechnik. All rights reserved.