org.objectweb.jorm.mapper.rdb.adapter
Class RdbAdapterFactory

java.lang.Object
  extended byorg.objectweb.jorm.mapper.rdb.adapter.RdbAdapterFactory

public class RdbAdapterFactory
extends java.lang.Object

This factory permits to create new instances of RdbAdapter.

Author:
S. Chassande-Barrioz

Field Summary
static java.lang.String DATABASE_NAME_JDBC
          This constant represents the data base name for a standard jdbc database
 
Constructor Summary
RdbAdapterFactory()
           
 
Method Summary
static RdbAdapter getTypeConverter(java.lang.String dbn)
          This first possibility permits to specify the name for which a RdbAdapter is needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATABASE_NAME_JDBC

public static final java.lang.String DATABASE_NAME_JDBC
This constant represents the data base name for a standard jdbc database

See Also:
Constant Field Values
Constructor Detail

RdbAdapterFactory

public RdbAdapterFactory()
Method Detail

getTypeConverter

public static RdbAdapter getTypeConverter(java.lang.String dbn)
                                   throws PException
This first possibility permits to specify the name for which a RdbAdapter is needed.

Parameters:
dbn - : the data base name
Returns:
: the type converter linked to the data base name
Throws:
PException - : if the parameter is null or if no RdbAdapter is associated to the name, a PException is throwing.