blob: 4ad978b1cd9b3b2beb5a5960c2392a8f4a867615 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013-2020 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Initial Contributors:
* Thierry Monteil : Project manager, technical co-manager
* Mahdi Ben Alaya : Technical co-manager
* Samir Medjiah : Technical co-manager
* Khalil Drira : Strategy expert
* Guillaume Garzone : Developer
* François Aïssaoui : Developer
*
* New contributors :
*******************************************************************************/
package org.eclipse.om2m.core.persistence;
import org.eclipse.om2m.persistence.service.DBService;
/**
* Persistence service to handle persistence initialization
*
*/
public class PersistenceService {
private DBService dbService ;
private static PersistenceService service = new PersistenceService();
public static PersistenceService getInstance() {
return service;
}
private PersistenceService() {
}
public DBService getDbService() {
return dbService;
}
public void setDbService(DBService dbService) {
this.dbService = dbService;
}
}