Class AccountingServiceInitializer

  • All Implemented Interfaces:
    org.gcube.smartgears.ApplicationManager

    public class AccountingServiceInitializer
    extends Object
    implements org.gcube.smartgears.ApplicationManager
    Author:
    Luca Frosini (ISTI - CNR)
    • Constructor Detail

      • AccountingServiceInitializer

        public AccountingServiceInitializer()
    • 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.ObjectNotFound
        Exception
      • onInit

        public void onInit()
        Specified by:
        onInit in interface org.gcube.smartgears.ApplicationManager
      • onShutdown

        public void onShutdown()
        Specified by:
        onShutdown in interface org.gcube.smartgears.ApplicationManager