org.gcube.vremanagement.resourcemanager.porttypes
Class Administration
java.lang.Object
org.gcube.common.core.porttypes.GCUBEPortType
org.gcube.vremanagement.resourcemanager.porttypes.Administration
- All Implemented Interfaces:
- javax.xml.rpc.server.ServiceLifecycle
public class Administration
- extends org.gcube.common.core.porttypes.GCUBEPortType
Administration portType implementation
- Author:
- Manuele Simi (CNR)
|
Field Summary |
protected org.gcube.common.core.utils.logging.GCUBELog |
logger
Object logger. |
| Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
initialized |
|
Method Summary |
protected void |
addScopeToInstanceState(org.gcube.common.core.scope.GCUBEScope scope)
Adds the scope to the current service's instance |
void |
cleanSoftwareState(org.gcube.vremanagement.resourcemanager.stubs.reporting.SendReportParameters reportMessage)
Receives a deployment session. |
protected InstanceState |
getInstanceState()
Gets the instance state |
protected org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext()
|
| Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
destroy, init, onFailure, onInitialisation, onReady, onStateChange, onUpdate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.gcube.common.core.utils.logging.GCUBELog logger
- Object logger.
Administration
public Administration()
cleanSoftwareState
public void cleanSoftwareState(org.gcube.vremanagement.resourcemanager.stubs.reporting.SendReportParameters reportMessage)
throws org.gcube.common.core.faults.GCUBEFault
- Receives a deployment session. It is called by the Deployer services on the GHNs contacted within the
#addResources(AddResourcesParameters)
operation
- Parameters:
session - the resource session
- Throws:
org.gcube.common.core.faults.GCUBEFault - if the session does not have a valid serialization
getServiceContext
protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
- Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType
getInstanceState
protected InstanceState getInstanceState()
throws org.globus.wsrf.NoSuchResourceException,
org.globus.wsrf.ResourceException
- Gets the instance state
- Returns:
- the
InstanceState
- Throws:
org.globus.wsrf.NoSuchResourceException
org.globus.wsrf.ResourceException
addScopeToInstanceState
protected void addScopeToInstanceState(org.gcube.common.core.scope.GCUBEScope scope)
throws org.globus.wsrf.ResourceException
- Adds the scope to the current service's instance
- Parameters:
scope -
- Throws:
org.globus.wsrf.ResourceException
Copyright © 2012. All Rights Reserved.