View Javadoc

1   /*
2    * $Id: MemoryDAOFactory.java,v 1.1 2004/12/15 14:18:09 patforna Exp $
3    *
4    * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
5    * Berne University of Applied Sciences
6    * School of Engineering and Information Technology
7    * All rights reserved.
8    */
9   package bexee.dao;
10  
11  /***
12   * Memory DAO factory for constructing DAO implementations using memory as data
13   * source.
14   * <p>
15   * Each concrete DAO is responsible for connecting to the data source and
16   * obtaining and manipulating data for the business object it supports.
17   * 
18   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:09 $
19   * @author Patric Fornasier
20   * @author Pawel Kowalski
21   */
22  public class MemoryDAOFactory extends DAOFactory {
23  
24      public BPELProcessDAO createBPELProcessDAO() {
25          return new MemoryBPELProcessDAO();
26      }
27  
28      public ProcessContextDAO createProcessContextDAO() {
29          return new MemoryProcessContextDAO();
30      }
31  }