org.jcrontab.data
Class DataFactory

java.lang.Object
  |
  +--org.jcrontab.data.DataFactory

public class DataFactory
extends java.lang.Object

This Factory builds a dao using teh given information. Initializes the system with the given properties or loads the default config

Version:
$Revision: 1.21 $
Author:
$Author: iolalla $

Method Summary
static DataSource getDAO()
          This method returns the DataSource of the System
static DataFactory getInstance()
          This method returns the DataFactory of the System This method grants the Singleton pattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataFactory getInstance()
This method returns the DataFactory of the System This method grants the Singleton pattern

Returns:
DataSource I have a lot of doubts about how this method is done.

getDAO

public static DataSource getDAO()
This method returns the DataSource of the System

Returns:
DataSource I have a lot of doubts about how this method is done.