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
GCUBEScope
params
- WSDL defined parametersGCUBEUnrecoverableFault
- if it cannot add the scopepublic boolean removeScope(java.lang.String scope) throws GCUBEUnrecoverableFault
GCUBEScope
params
- WSDL defined parametersGCUBEUnrecoverableFault
public boolean addRIToScope(ScopeRIParams params) throws GCUBEUnrecoverableFault, GCUBEFault
params
- WSDL defined parametersGCUBEUnrecoverableFault,
- GCUBEFaultGCUBEUnrecoverableFault
GCUBEFault
public boolean activateRI(RIData ri) throws GCUBEUnrecoverableFault, GCUBEFault
ri
- name and class of the instanceGCUBEUnrecoverableFault
GCUBEFault
public boolean deactivateRI(RIData ri) throws GCUBEUnrecoverableFault, GCUBEFault
ri
- name and class of the instanceGCUBEUnrecoverableFault
GCUBEFault
public boolean removeRIFromScope(ScopeRIParams params) throws GCUBEUnrecoverableFault, GCUBEFault
params
- WSDL defined parametersGCUBEUnrecoverableFault,
- GCUBEFaultGCUBEUnrecoverableFault
GCUBEFault
public void shutdown(ShutdownOptions options) throws GCUBEUnrecoverableFault
options
- true
if the container must be restarted after the shutdown
GCUBEUnrecoverableFault
- if the operation fails