org.exolab.castor.persist

Class KeyGeneratorFactoryRegistry

public final class KeyGeneratorFactoryRegistry extends Object

Registry for KeyGeneratorFactory implementations obtained from the Castor properties file and used by the JDO mapping configuration file.

Version: $Revision: 1.3 $ $Date: 2004/10/01 13:25:07 $

Author: Oleg Nitz

Method Summary
static KeyGeneratorFactorygetKeyGeneratorFactory(String name)
Returns a key generator factory with the specified name.
static String[]getKeyGeneratorFactoryNames()
Returns the names of all the configured key generator factories The names can be used to obtain a key generator factory from KeyGeneratorFactoryRegistry.

Method Detail

getKeyGeneratorFactory

public static KeyGeneratorFactory getKeyGeneratorFactory(String name)
Returns a key generator factory with the specified name. The factory class names are loaded from the Castor properties file. Returns null if the named factory is not supported.

Parameters: name The key generator name

Returns: The KeyGeneratorFactory, null if no key generator factory with this name exists

getKeyGeneratorFactoryNames

public static String[] getKeyGeneratorFactoryNames()
Returns the names of all the configured key generator factories The names can be used to obtain a key generator factory from KeyGeneratorFactoryRegistry.

Returns: Names of key generator factories

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