public class ContextManager extends Object
| Constructor and Description |
|---|
ContextManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear() |
static Map<String,org.gcube.common.scope.impl.ScopeBean> |
getAvailableContexts()
Refreshes the list of scopes and associated maps.
|
static org.gcube.common.scope.impl.ScopeBean |
getContext(String context) |
static Document |
getDocumentGivenXML(String result) |
static String |
getMapXML(org.gcube.common.scope.impl.ScopeBean searchvo)
Given a context, if it is a VO or an infrastructure, the corresponding
map file is retrieved from the globus location and the contained xml
representation is returned.
|
protected static List<String> |
getVREFromVO(org.gcube.common.scope.impl.ScopeBean vo)
query the IS to get the VRE list given a VO
|
static LinkedHashMap<String,org.gcube.common.scope.impl.ScopeBean> |
readContexts() |
static void |
update() |
public static org.gcube.common.scope.impl.ScopeBean getContext(String context) throws Exception
Exceptionpublic static Map<String,org.gcube.common.scope.impl.ScopeBean> getAvailableContexts() throws Exception
Exceptionpublic static void clear()
public static LinkedHashMap<String,org.gcube.common.scope.impl.ScopeBean> readContexts() throws Exception
confFile - Exceptionprotected static List<String> getVREFromVO(org.gcube.common.scope.impl.ScopeBean vo) throws Exception
vo - Exceptionpublic static String getMapXML(org.gcube.common.scope.impl.ScopeBean searchvo) throws Exception
searchvo - ExceptionCopyright © 2018. All Rights Reserved.