|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGCUBEPortType
org.gcube.vremanagement.resourcemanager.impl.ResourceManager
public class ResourceManager
ResourceManager port-type implementation
Field Summary | |
---|---|
static java.lang.String |
SINGLETON_RESOURCE_KEY
Singleton resource name |
Constructor Summary | |
---|---|
ResourceManager()
|
Method Summary | |
---|---|
java.lang.String |
addResources(AddResourcesParameters resourceList)
Adds a new group of ScopedResource s to the managed Scope |
void |
changeScopeOptions(OptionsParameters options)
Changes some options on the scope |
java.lang.String |
createScope(CreateScopeParameters params)
|
java.lang.String |
disposeScope(DisposeScopeParameters params)
Disposes the managed Scope |
java.lang.String |
getReport(java.lang.String ID)
Gets a Resource Report |
java.lang.String |
removeResources(RemoveResourcesParameters resourceList)
Removes a group of ScopedResource s from the managed Scope |
void |
sendReport(SendReportParameters reportMessage)
Receives a deployment session. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SINGLETON_RESOURCE_KEY
Constructor Detail |
---|
public ResourceManager()
Method Detail |
---|
public java.lang.String addResources(AddResourcesParameters resourceList) throws ResourcesCreationFaultType, GCUBEFault
ScopedResource
s to the managed Scope
resourcesList
- the resources to join
getReport(String)
operation
GCUBEFault
- if the operation fails
ResourcesCreationFaultType
public java.lang.String removeResources(RemoveResourcesParameters resourceList) throws ResourcesRemovalFaultType, InvalidScopeFaultType
ScopedResource
s from the managed Scope
resourcesList
- the resources to remove from the PublishedScopeResource
GCUBEFault
- if the operation fails
ResourcesRemovalFaultType
InvalidScopeFaultType
public java.lang.String disposeScope(DisposeScopeParameters params) throws InvalidScopeFaultType, GCUBEFault
params
-
GCUBEFault
InvalidScopeFaultType
public java.lang.String createScope(CreateScopeParameters params) throws InvalidScopeFaultType, InvalidOptionsFaultType, ResourcesCreationFaultType, GCUBEFault
InvalidScopeFaultType
InvalidOptionsFaultType
ResourcesCreationFaultType
GCUBEFault
public void changeScopeOptions(OptionsParameters options) throws InvalidOptionsFaultType, InvalidOptionsFaultType, GCUBEFault
options
- the new options to change
GCUBEFault
- if any of the input options is not valid
InvalidOptionsFaultType
public void sendReport(SendReportParameters reportMessage) throws GCUBEFault
addResources(AddResourcesParameters)
operation
session
- the resource session
GCUBEFault
- if the session does not have a valid serializationpublic java.lang.String getReport(java.lang.String ID) throws NoSuchReportFaultType
ID
- the session identifier
GNoSuchReportFaultTypeCUBEFault
- if the session is not found or does not have a valid serialization
NoSuchReportFaultType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |