com.mlw.fps.model.business.dao
Class DAOFactory

java.lang.Object
  |
  +--com.mlw.fps.model.business.dao.DAOFactory

public class DAOFactory
extends java.lang.Object

Author:
Matthew Wilson

Constructor Summary
DAOFactory()
          Creates a new instance of ManagerFactory
 
Method Summary
static java.lang.Object getDAO(java.lang.String name)
           
static javax.sql.DataSource getDataSource()
          Getter for property dataSource.
static void init()
           
static boolean isInitialized()
          Getter for property initialized.
static void setConfig(java.lang.String config)
          Setter for property config.
static void setDataSource(javax.sql.DataSource data)
          Setter for property dataSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOFactory

public DAOFactory()
Creates a new instance of ManagerFactory

Method Detail

getDAO

public static java.lang.Object getDAO(java.lang.String name)

setConfig

public static void setConfig(java.lang.String config)
Setter for property config.

Parameters:
config - New value of property config.

init

public static void init()
                 throws java.lang.Exception
java.lang.Exception

isInitialized

public static boolean isInitialized()
Getter for property initialized.

Returns:
Value of property initialized.

getDataSource

public static javax.sql.DataSource getDataSource()
Getter for property dataSource.

Returns:
Value of property dataSource.

setDataSource

public static void setDataSource(javax.sql.DataSource data)
Setter for property dataSource.



Copyright © 2003 mlavilson. All Rights Reserved.