org.castor.cpa.persistence.sql.keygen
public final class KeyGeneratorFactoryRegistry extends java.lang.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(java.lang.String name)
Returns a key generator factory with the specified name.
|
java.lang.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(java.lang.String name)
name
- Name of the key generator factory.KeyGeneratorFactory
or null
if no key generator factory
with this name exists.public java.lang.String[] getKeyGeneratorFactoryNames()
getKeyGeneratorFactory(java.lang.String)
.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com