KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > persistance > dao > PartnerDAO


1 package org.objectweb.rentacar.persistance.dao;
2
3 /**
4  *
5  * @author ofabre
6  *
7  */

8 public class PartnerDAO extends GenericDAO {
9     
10     private static PartnerDAO theInstance;
11     
12     private PartnerDAO(){
13         
14     }
15     
16     public static synchronized PartnerDAO getInstance() {
17         if (null == theInstance) {
18             theInstance = new PartnerDAO();
19         }
20         return theInstance;
21     }
22
23 }
24
Popular Tags