public class UriResolverSmartGearManagerInit extends Object implements org.gcube.smartgears.ApplicationManager
| Modifier and Type | Field and Description |
|---|---|
protected static String |
APP_ID |
static String |
ENV_SCOPE |
static String |
GEO_EXPLORER_GENERIC_RESOURCE_GCUBE_APPS_PROPERTIES_FILENAME |
static String |
GIS_VIEWER_GENERIC_RESOURCE_GCUBE_APPS_PROPERTIES_FILENAME |
static String |
PARTHENOS_VRE_PROPERTIES_FILENAME |
protected static String |
SECONDARY_TYPE |
protected static String |
VRE_NAME |
| Constructor and Description |
|---|
UriResolverSmartGearManagerInit() |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationProfilePropertyReader |
getGeoExplorerProfile()
Gets the geo explorer profile.
|
static ApplicationProfilePropertyReader |
getGisViewerProfile()
Gets the gis viewer profile.
|
static String |
getParthenosVREName()
Gets the parthenos vre name.
|
static String |
getRootContextScope()
Gets the root context scope.
|
static String |
getRootTokenFromSGConfiguration()
Gets the root token from SG configurations.
|
static String |
loadScopeFromEnvironment()
Load scope from environment.
|
void |
onInit() |
void |
onShutdown() |
static void |
setRootContextScope(String rootContextScope) |
public static final String GIS_VIEWER_GENERIC_RESOURCE_GCUBE_APPS_PROPERTIES_FILENAME
public static final String GEO_EXPLORER_GENERIC_RESOURCE_GCUBE_APPS_PROPERTIES_FILENAME
public static final String PARTHENOS_VRE_PROPERTIES_FILENAME
protected static final String SECONDARY_TYPE
protected static final String APP_ID
protected static final String VRE_NAME
public static final String ENV_SCOPE
public void onInit()
onInit in interface org.gcube.smartgears.ApplicationManagerpublic void onShutdown()
onShutdown in interface org.gcube.smartgears.ApplicationManagerpublic static String loadScopeFromEnvironment() throws javax.servlet.ServletException
javax.servlet.ServletException - the servlet exceptionpublic static ApplicationProfilePropertyReader getGisViewerProfile()
public static ApplicationProfilePropertyReader getGeoExplorerProfile()
public static String getParthenosVREName()
public static String getRootContextScope()
public static void setRootContextScope(String rootContextScope)
public static String getRootTokenFromSGConfiguration()
Copyright © 2021. All Rights Reserved.