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

Quick Search    Search Deep

org.jdbf.engine.sql
Class SqlInterfaceFactory  view SqlInterfaceFactory download SqlInterfaceFactory.java

java.lang.Object
  extended byorg.jdbf.engine.sql.SqlInterfaceFactory

public class SqlInterfaceFactory
extends java.lang.Object

Associates a name with an instance of SqlInterface.


Nested Class Summary
(package private) static class SqlInterfaceFactory.SqlInterfaceEntry
          Single entry of SQLInterface
(package private) static interface SqlInterfaceFactory.SqlInterfaceMaker
          Interface that creates the SQLInterface object
 
Field Summary
(package private) static java.util.ArrayList sqlIfaces
          List of SqlInterfaceEntry holding the instantiated interfaces
private static SqlInterfaceFactory.SqlInterfaceMaker[] sqlInterfaces
          the list of sql interfaces
 
Constructor Summary
private SqlInterfaceFactory()
           
 
Method Summary
private static SqlInterface addSqlInterface(java.lang.String name)
          Adds a SqlInterface to the list of instantiated interfaces.
static SqlInterface getSqlInterface(java.lang.String name)
          Return the SqlInterface specified in name
private static SqlInterface getSqlInterfaceIntern(java.lang.String name)
          Return an SqlInterface 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

sqlIfaces

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


sqlInterfaces

private static SqlInterfaceFactory.SqlInterfaceMaker[] sqlInterfaces
the list of sql interfaces

Constructor Detail

SqlInterfaceFactory

private SqlInterfaceFactory()
Method Detail

addSqlInterface

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


getSqlInterfaceIntern

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


getSqlInterface

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