final class KeyGeneratorRegistry
extends java.lang.Object
KeyGenerator instances.
Is used to create no more than one instance of the give type with
the given parameters.| Constructor and Description |
|---|
KeyGeneratorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
KeyGenerator |
getKeyGenerator(PersistenceFactory factory,
KeyGeneratorDescriptor desc,
int sqlType)
Returns a key generator with the specified description
for the specified persistence factory.
|
public KeyGenerator getKeyGenerator(PersistenceFactory factory, KeyGeneratorDescriptor desc, int sqlType) throws MappingException
factory - The persistence factorydesc - The key generator descriptionKeyGeneratorMappingExceptionIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com