org.exolab.castor.persist

Class KeyGeneratorFactoryRegistry


public final class KeyGeneratorFactoryRegistry
extends java.lang.Object

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:43 $

Author:
Oleg Nitz

Method Summary

static KeyGeneratorFactory
getKeyGeneratorFactory(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 getKeyGeneratorFactory(String).

Method Details

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:
Names of key generator factories


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