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, validateScopes
public GHNManager() throws ResourceParameterException, ResourceAccessException
public GHNManager(String id) throws ResourceParameterException, ResourceAccessException
id
- the identifier of wrapper resource.ResourceParameterException
ResourceAccessException
public GHNManager(String id, String name) throws ResourceParameterException, ResourceAccessException
id
- name
- ResourceParameterException
ResourceAccessException
public GHNManager(String id, String name, String subtype) throws ResourceParameterException, ResourceAccessException
id
- name
- subtype
- ResourceParameterException
ResourceAccessException
public 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
- ResourceParameterException
ResourceOperationException
AbstractResourceException
public 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.AbstractResourceException
public 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
- ResourceOperationException
ResourceAccessException
ResourceParameterException
AbstractResourceException
protected final org.gcube.common.resources.gcore.Resource buildResource(String xmlRepresentation) throws AbstractResourceException
AbstractResourceManager
buildResource
in class AbstractResourceManager
AbstractResourceException
Copyright © 2016. All Rights Reserved.