01: /*
02: * $Id: MemoryDAOFactory.java,v 1.4 2004/12/09 08:42:20 kowap Exp $
03: *
04: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
05: * Berne University of Applied Sciences
06: * School of Engineering and Information Technology
07: * All rights reserved.
08: */
09: 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.4 $, $Date: 2004/12/09 08:42:20 $
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: }
|