org.exolab.castor.jdo.engine

Class KeyGeneratorRegistry

final class KeyGeneratorRegistry extends Object

Registry for KeyGenerator instances. Is used to create no more than one instance of the give type with the given parameters.

Version: $Revision: 5951 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $

Author: Oleg Nitz Bruce Snyder

Method Summary
KeyGeneratorgetKeyGenerator(PersistenceFactory factory, KeyGeneratorDescriptor desc, int sqlType)
Returns a key generator with the specified description for the specified persistence factory.

Method Detail

getKeyGenerator

public KeyGenerator getKeyGenerator(PersistenceFactory factory, KeyGeneratorDescriptor desc, int sqlType)
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-2006. All rights reserved http://www.intalio.com