public class ValueGenerationManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ValueGenerator> |
generatorsByName
Map of ValueGenerator keyed by the symbolic name.
|
| Constructor and Description |
|---|
ValueGenerationManager()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Method to clear out the generators managed by this manager.
|
ValueGenerator |
createValueGenerator(String name,
Class generatorClass,
Properties props,
StoreManager storeMgr,
ValueGenerationConnectionProvider connectionProvider)
Method to create a ValueGenerator when the generator is datastore based.
|
ValueGenerator |
getValueGenerator(String name)
Accessor for the ValueGenerator with the given symbolic name.
|
protected Map<String,ValueGenerator> generatorsByName
public void clear()
public ValueGenerator getValueGenerator(String name)
name - Name of the ValueGenerator when createdpublic ValueGenerator createValueGenerator(String name, Class generatorClass, Properties props, StoreManager storeMgr, ValueGenerationConnectionProvider connectionProvider)
name - Symbolic name of the generatorgeneratorClass - Class for the generator typeprops - Properties to control the generatorstoreMgr - Manager for the storeconnectionProvider - Provider for connectionsCopyright © 2017. All rights reserved.