Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.engine.keygen
Class KeyGeneratorFactory  view KeyGeneratorFactory download KeyGeneratorFactory.java

java.lang.Object
  extended byorg.jdbf.engine.keygen.KeyGeneratorFactory

public class KeyGeneratorFactory
extends java.lang.Object

Holds a list of key generators.

Version:
$id$

Nested Class Summary
(package private) static interface KeyGeneratorFactory.KeyGeneratorCreator
          Interface that creates the KeyGenerator object
(package private) static class KeyGeneratorFactory.KeyGeneratorEntry
          Single entry of KeyGenerator
 
Field Summary
(package private) static java.util.ArrayList generators
          List of SqlInterfaceEntry holding the instantiated interfaces
private static KeyGeneratorFactory.KeyGeneratorCreator[] keyGenerators
          A list of the available key generators
 
Constructor Summary
private KeyGeneratorFactory()
           
 
Method Summary
private static KeyGenerator addKeyGenerator(java.lang.String name)
          Adds a SqlInterface to the list of instantiated interfaces.
static KeyGenerator getKeyGenerator(java.lang.String name)
          Return the KeyGenerator specified in name
private static KeyGenerator getKeyGeneratorIntern(java.lang.String name)
          Return an KeyGenerator for the given class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generators

static java.util.ArrayList generators
List of SqlInterfaceEntry holding the instantiated interfaces


keyGenerators

private static KeyGeneratorFactory.KeyGeneratorCreator[] keyGenerators
A list of the available key generators

Constructor Detail

KeyGeneratorFactory

private KeyGeneratorFactory()
Method Detail

addKeyGenerator

private static KeyGenerator addKeyGenerator(java.lang.String name)
                                     throws org.jdbf.engine.mapping.MappingException
Adds a SqlInterface to the list of instantiated interfaces.


getKeyGeneratorIntern

private static KeyGenerator getKeyGeneratorIntern(java.lang.String name)
                                           throws org.jdbf.engine.mapping.MappingException
Return an KeyGenerator for the given class name.


getKeyGenerator

public static KeyGenerator getKeyGenerator(java.lang.String name)
                                    throws org.jdbf.engine.mapping.MappingException
Return the KeyGenerator specified in name