21 lines
553 B
Java
21 lines
553 B
Java
|
package org.gcube.accounting.messaging;
|
||
|
|
||
|
/**
|
||
|
* This class has been created for backward compatibility.
|
||
|
* Use {@link #Persistence} class instead
|
||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||
|
*/
|
||
|
@Deprecated
|
||
|
public class ResourceAccountingFactory {
|
||
|
|
||
|
private static ResourceAccounting resourceAccounting = null;
|
||
|
|
||
|
@Deprecated
|
||
|
public static ResourceAccounting getResourceAccountingInstance() throws Exception {
|
||
|
if (resourceAccounting == null){
|
||
|
resourceAccounting= new ResourceAccounting();
|
||
|
}
|
||
|
return resourceAccounting;
|
||
|
}
|
||
|
}
|