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: 1.3 $ $Date: 2004/10/01 13:25:07 $
Author:
Oleg Nitz

Constructor Summary
KeyGeneratorFactoryRegistry()
           
 
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
 

Constructor Detail

KeyGeneratorFactoryRegistry

public KeyGeneratorFactoryRegistry()
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


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