public class GHNManager extends AbstractResourceManager
| Constructor and Description |
|---|
GHNManager()
Deprecated.
discouraged use. With no ID some operations cannot be accessed.
|
GHNManager(String id) |
GHNManager(String id,
String name) |
GHNManager(String id,
String name,
String subtype) |
| Modifier and Type | Method and Description |
|---|---|
String |
addToNewScope(org.gcube.common.scope.impl.ScopeBean sourceScope,
org.gcube.common.scope.impl.ScopeBean targetScope,
String scopeMap)
Add a scope to a gHN and the related Service Map that is not available on the gHN.
|
protected org.gcube.common.resources.gcore.Resource |
buildResource(String xmlRepresentation)
Given the XML profile representation of a gcube resource, its GCUBEResource is built.
|
org.gcube.common.vremanagement.ghnmanager.client.GHNManagerLibrary |
getGHNManager(org.gcube.common.scope.impl.ScopeBean scope)
Required information:
The name of the resource must be specified and valid. |
void |
shutDown(org.gcube.common.scope.impl.ScopeBean scope,
boolean restart,
boolean clean)
Implements all the three possible shutdown policies according to
restart and clean parameters.
|
addToExistingScope, copyFromToVO, delete, forceDelete, getID, getName, getRegistryPublisher, getReportResourceManager, getResource, getResourceManager, getSubType, getType, getXMLDescription, removeFromScope, setID, validateScopespublic GHNManager()
throws ResourceParameterException,
ResourceAccessException
public GHNManager(String id) throws ResourceParameterException, ResourceAccessException
id - the identifier of wrapper resource.ResourceParameterExceptionResourceAccessExceptionpublic GHNManager(String id, String name) throws ResourceParameterException, ResourceAccessException
id - name - ResourceParameterExceptionResourceAccessExceptionpublic GHNManager(String id, String name, String subtype) throws ResourceParameterException, ResourceAccessException
id - name - subtype - ResourceParameterExceptionResourceAccessExceptionpublic final String addToNewScope(org.gcube.common.scope.impl.ScopeBean sourceScope, org.gcube.common.scope.impl.ScopeBean targetScope, String scopeMap) throws AbstractResourceException
Required information:
The ID of the resource must be specified and valid.
scope - scopeMap - ResourceParameterExceptionResourceOperationExceptionAbstractResourceExceptionpublic final org.gcube.common.vremanagement.ghnmanager.client.GHNManagerLibrary getGHNManager(org.gcube.common.scope.impl.ScopeBean scope)
throws AbstractResourceException
Required information:
The name of the resource must be specified and valid. It is used to retrieve the GHN manager URL.
scope - the scope in which the manager is bound.AbstractResourceExceptionpublic final void shutDown(org.gcube.common.scope.impl.ScopeBean scope,
boolean restart,
boolean clean)
throws AbstractResourceException
Required information:
The ID of the resource must be specified and valid.
scope - restart - clean - ResourceOperationExceptionResourceAccessExceptionResourceParameterExceptionAbstractResourceExceptionprotected final org.gcube.common.resources.gcore.Resource buildResource(String xmlRepresentation) throws AbstractResourceException
AbstractResourceManagerbuildResource in class AbstractResourceManagerAbstractResourceExceptionCopyright © 2017. All Rights Reserved.