public class GHNManager
extends GCUBEPortType
| Constructor and Description |
|---|
GHNManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activateRI(RIData ri)
Activates an instance hosted on the local node
|
boolean |
addRIToScope(ScopeRIParams params)
Adds a new scope to a local RI
|
boolean |
addScope(AddScopeInputParams params)
Joins the GHN to a new
GCUBEScope |
boolean |
deactivateRI(RIData ri)
Deactivates an instance hosted on the local node
|
boolean |
removeRIFromScope(ScopeRIParams params)
Adds a new scope to a local RI
|
boolean |
removeScope(java.lang.String scope)
Unbinds the gHN from a
GCUBEScope |
void |
shutdown(ShutdownOptions options)
Shuts down the local GHN
|
public boolean addScope(AddScopeInputParams params)
throws GCUBEUnrecoverableFault
GCUBEScopeparams - WSDL defined parametersGCUBEUnrecoverableFault - if it cannot add the scopepublic boolean removeScope(java.lang.String scope)
throws GCUBEUnrecoverableFault
GCUBEScopeparams - WSDL defined parametersGCUBEUnrecoverableFaultpublic boolean addRIToScope(ScopeRIParams params)
throws GCUBEUnrecoverableFault,
GCUBEFault
params - WSDL defined parametersGCUBEUnrecoverableFault, - GCUBEFaultGCUBEUnrecoverableFaultGCUBEFaultpublic boolean activateRI(RIData ri)
throws GCUBEUnrecoverableFault,
GCUBEFault
ri - name and class of the instanceGCUBEUnrecoverableFaultGCUBEFaultpublic boolean deactivateRI(RIData ri)
throws GCUBEUnrecoverableFault,
GCUBEFault
ri - name and class of the instanceGCUBEUnrecoverableFaultGCUBEFaultpublic boolean removeRIFromScope(ScopeRIParams params)
throws GCUBEUnrecoverableFault,
GCUBEFault
params - WSDL defined parametersGCUBEUnrecoverableFault, - GCUBEFaultGCUBEUnrecoverableFaultGCUBEFaultpublic void shutdown(ShutdownOptions options)
throws GCUBEUnrecoverableFault
options - true if the container must be restarted after the shutdown
GCUBEUnrecoverableFault - if the operation fails