public class AccountingServiceInitializer extends Object implements org.gcube.smartgears.ApplicationManager
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.accounting.persistence.AccountingPersistence |
accountingPersistence |
protected org.gcube.accounting.analytics.persistence.AccountingPersistenceQuery |
accountingPersistenceQuery |
| Constructor and Description |
|---|
AccountingServiceInitializer() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.accounting.persistence.AccountingPersistence |
getAccountingPersistence() |
org.gcube.accounting.analytics.persistence.AccountingPersistenceQuery |
getAccountingPersistenceQuery() |
static String |
getCurrentContext() |
static String |
getCurrentContext(String token) |
void |
onInit() |
void |
onShutdown() |
protected org.gcube.accounting.persistence.AccountingPersistence accountingPersistence
protected org.gcube.accounting.analytics.persistence.AccountingPersistenceQuery accountingPersistenceQuery
public static String getCurrentContext()
public static String getCurrentContext(String token) throws org.gcube.common.authorization.client.exceptions.ObjectNotFound, Exception
org.gcube.common.authorization.client.exceptions.ObjectNotFoundExceptionpublic void onInit()
onInit in interface org.gcube.smartgears.ApplicationManagerpublic void onShutdown()
onShutdown in interface org.gcube.smartgears.ApplicationManagerpublic org.gcube.accounting.persistence.AccountingPersistence getAccountingPersistence()
public org.gcube.accounting.analytics.persistence.AccountingPersistenceQuery getAccountingPersistenceQuery()
Copyright © 2017. All Rights Reserved.