org.objectweb.telosys.dal
Class TelosysDAL

java.lang.Object
  extended byorg.objectweb.telosys.dal.TelosysDAL

public final class TelosysDAL
extends java.lang.Object

Telosys Data Access Layer ( DAL ) manager
Static methods to initialize the D.A. Layer and retrieve the DAO provider


Constructor Summary
TelosysDAL()
           
 
Method Summary
static DAOProvider getDAOProvider()
          Return the DAO provider
static java.lang.String getDbConfig()
          Returns the config file name used for initialization
static boolean init()
          Telosys DAL initialization with the Telosys properties
static boolean init(java.lang.String sDbConfigFileName)
          Telosys-DAL initialization from the given config file name
(method to init Telosys-DAL without full Telosys environment)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelosysDAL

public TelosysDAL()
Method Detail

init

public static boolean init()
Telosys DAL initialization with the Telosys properties

Returns:

init

public static boolean init(java.lang.String sDbConfigFileName)
Telosys-DAL initialization from the given config file name
(method to init Telosys-DAL without full Telosys environment)

Parameters:
sDbConfigFileName - the full path for the configuration file ( 'dbconfig.xml' )
Returns:

getDbConfig

public static java.lang.String getDbConfig()
Returns the config file name used for initialization

Returns:

getDAOProvider

public static DAOProvider getDAOProvider()
Return the DAO provider

Returns:
Since:
1.0.0