Class UriResolverSmartGearManagerInit

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

    public class UriResolverSmartGearManagerInit
    extends Object
    implements org.gcube.smartgears.ApplicationManager
    The Class UriResolverSmartGearManagerInit.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Nov 15, 2018
    • Constructor Detail

      • UriResolverSmartGearManagerInit

        public UriResolverSmartGearManagerInit()
    • Method Detail

      • 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
      • loadScopeFromEnvironment

        public static String loadScopeFromEnvironment()
                                               throws javax.servlet.ServletException
        Load scope from environment.
        Returns:
        the scope read from Environment Variable
        Throws:
        javax.servlet.ServletException - the servlet exception
      • getParthenosVREName

        public static String getParthenosVREName()
        Gets the parthenos vre name.
        Returns:
        the parthenosVREName
      • getRootContextScope

        public static String getRootContextScope()
        Gets the root context scope.
        Returns:
        the root context scope
      • setRootContextScope

        public static void setRootContextScope​(String rootContextScope)
      • getRootTokenFromSGConfiguration

        public static String getRootTokenFromSGConfiguration()
        Gets the root token from SG configurations.
        Returns:
        the root token from SG configurations