public final class KeyGeneratorFactoryRegistry extends Object
KeyGeneratorFactory
implementations obtained from the Castor properties
file and used by the JDO mapping configuration file.Constructor and Description |
---|
KeyGeneratorFactoryRegistry(AbstractProperties properties)
Create a new registry instance of key generator factories.
|
Modifier and Type | Method and Description |
---|---|
KeyGeneratorFactory |
getKeyGeneratorFactory(String name)
Returns a key generator factory with the specified name.
|
String[] |
getKeyGeneratorFactoryNames()
Returns an array of names of all the configured key generator factories.
|
public KeyGeneratorFactoryRegistry(AbstractProperties properties)
properties
- The properties to use.public KeyGeneratorFactory getKeyGeneratorFactory(String name)
name
- Name of the key generator factory.KeyGeneratorFactory
or null
if no key generator factory
with this name exists.public String[] getKeyGeneratorFactoryNames()
getKeyGeneratorFactory(java.lang.String)
.Copyright © 2016. All rights reserved.