org.exolab.castor.jdo.engine

Class KeyGeneratorRegistry


(package private) final class KeyGeneratorRegistry
extends java.lang.Object

Registry for KeyGenerator instances. Is used to create no more than one instance of the give type with the given parameters.
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:18 $
Author:
Oleg Nitz

Method Summary

KeyGenerator
getKeyGenerator(PersistenceFactory factory, KeyGeneratorDescriptor desc, int sqlType, LogInterceptor logInterceptor)
Returns a key generator with the specified description for the specified persistence factory.

Method Details

getKeyGenerator

public KeyGenerator getKeyGenerator(PersistenceFactory factory,
                                    KeyGeneratorDescriptor desc,
                                    int sqlType,
                                    LogInterceptor logInterceptor)
            throws MappingException
Returns a key generator with the specified description for the specified persistence factory.
Parameters:
factory - The persistence factory
desc - The key generator description
Returns:
The KeyGenerator

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com