Package org.gcube.accounting.service
Class AccountingServiceInitializer
- java.lang.Object
-
- org.gcube.accounting.service.AccountingServiceInitializer
-
- All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager
public class AccountingServiceInitializer extends Object implements org.gcube.smartgears.ApplicationManager
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Constructor Summary
Constructors Constructor Description AccountingServiceInitializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetCurrentContext()static StringgetCurrentContext(String token)voidonInit()voidonShutdown()
-
-
-
Method Detail
-
getCurrentContext
public static String getCurrentContext()
-
getCurrentContext
public static String getCurrentContext(String token) throws org.gcube.common.authorization.client.exceptions.ObjectNotFound, Exception
- Throws:
org.gcube.common.authorization.client.exceptions.ObjectNotFoundException
-
onInit
public void onInit()
- Specified by:
onInitin interfaceorg.gcube.smartgears.ApplicationManager
-
onShutdown
public void onShutdown()
- Specified by:
onShutdownin interfaceorg.gcube.smartgears.ApplicationManager
-
-