|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| JDODAOFactory.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: JDODAOFactory.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 |
* JDO DAO factory for constructing DAO implementations using JDO 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 JDODAOFactory extends DAOFactory { |
|
| 23 |
|
|
| 24 | 2 |
public BPELProcessDAO createBPELProcessDAO() {
|
| 25 | 2 |
return new JDOBPELProcessDAO(); |
| 26 |
} |
|
| 27 |
|
|
| 28 | 2 |
public ProcessContextDAO createProcessContextDAO() {
|
| 29 | 2 |
return new JDOProcessContextDAO(); |
| 30 |
} |
|
| 31 |
} |
|
||||||||||