org.exolab.castor.persist
Class KeyGeneratorFactoryRegistry

java.lang.Object
  extended by org.exolab.castor.persist.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: 8034 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
Author:
Oleg Nitz

Method Summary
static KeyGeneratorFactory getKeyGeneratorFactory(java.lang.String name)
          Returns a key generator factory with the specified name.
static java.lang.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(java.lang.String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKeyGeneratorFactory

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

Returns:
Names of key generator factories


Copyright © 2011. All Rights Reserved.