|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.resourcemanagement.support.server.managers.resources.AbstractResourceManager
org.gcube.resourcemanagement.support.server.managers.resources.GHNManager
public class GHNManager
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
String |
addToNewScope(org.gcube.common.core.scope.GCUBEScope sourceScope,
org.gcube.common.core.scope.GCUBEScope 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.core.resources.GCUBEResource |
buildGCUBEResource(String xmlRepresentation)
Given the XML profile representation of a gcube resource, its GCUBEResource is built. |
org.gcube.common.vremanagement.ghnmanager.stubs.GHNManagerPortType |
getGHNManager(org.gcube.common.core.scope.GCUBEScope scope)
Required information: The name of the resource must be specified and valid. |
void |
shutDown(org.gcube.common.core.scope.GCUBEScope scope,
boolean restart,
boolean clean)
Implements all the three possible shutdown policies according to restart and clean parameters. |
Methods inherited from class org.gcube.resourcemanagement.support.server.managers.resources.AbstractResourceManager |
---|
addToExistingScope, copyFromToVO, delete, forceDelete, getGCUBEResource, getID, getISClient, getISPublisher, getName, getReportResourceManager, getResourceManager, getResourceManagers, getResourceReportManagers, getSecurityManager, getSubType, getType, getXMLDescription, removeFromScope, setID, setSecurityManager, validateScopes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GHNManager() throws ResourceParameterException, ResourceAccessException
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
Method Detail |
---|
public final String addToNewScope(org.gcube.common.core.scope.GCUBEScope sourceScope, org.gcube.common.core.scope.GCUBEScope 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.stubs.GHNManagerPortType getGHNManager(org.gcube.common.core.scope.GCUBEScope 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.core.scope.GCUBEScope 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.core.resources.GCUBEResource buildGCUBEResource(String xmlRepresentation) throws AbstractResourceException
AbstractResourceManager
buildGCUBEResource
in class AbstractResourceManager
AbstractResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |