2015-07-06 15:33:54 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.accounting.persistence;
|
|
|
|
|
2015-12-18 17:09:05 +01:00
|
|
|
import org.gcube.documentstore.persistence.PersistenceBackendFactory;
|
|
|
|
|
2015-07-06 15:33:54 +02:00
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
|
|
*
|
|
|
|
*/
|
2015-10-12 18:03:39 +02:00
|
|
|
public class AccountingPersistenceFactory {
|
2015-07-06 15:33:54 +02:00
|
|
|
|
2015-10-12 18:03:39 +02:00
|
|
|
public static void setFallbackLocation(String path){
|
2015-12-18 17:09:05 +01:00
|
|
|
PersistenceBackendFactory.setFallbackLocation(path);
|
2015-07-06 15:33:54 +02:00
|
|
|
}
|
|
|
|
|
2015-07-07 12:10:52 +02:00
|
|
|
public static AccountingPersistence getPersistence() {
|
2015-10-12 18:03:39 +02:00
|
|
|
return AccountingPersistence.getInstance();
|
2015-07-06 15:33:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|