org.gcube.vremanagement.softwaregateway.impl.porttypes
Class Registration
java.lang.Object
org.gcube.common.core.porttypes.GCUBEPortType
org.gcube.vremanagement.softwaregateway.impl.porttypes.Registration
- All Implemented Interfaces:
- javax.xml.rpc.server.ServiceLifecycle
public class Registration
- extends org.gcube.common.core.porttypes.GCUBEPortType
| Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
initialized, logger |
| 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 |
Registration
public Registration()
register
public String register(String profile)
throws ServiceNotAvaiableFault
- Register a profile in the InformationSystem
- Parameters:
profile -
- Returns:
-
- Throws:
ServiceNotAvaiableFault
load
protected org.gcube.common.core.resources.GCUBEService load(String profile)
throws ServiceNotAvaiableFault
- Throws:
ServiceNotAvaiableFault
checkServiceVersion
protected boolean checkServiceVersion(org.gcube.common.core.resources.GCUBEService resource)
loadAndCheck
protected org.gcube.common.core.resources.GCUBEService loadAndCheck(String profile)
throws ServiceNotAvaiableFault
- Throws:
ServiceNotAvaiableFault
checkResourceCoordinates
protected void checkResourceCoordinates(org.gcube.common.core.resources.GCUBEService resource)
throws ServiceNotAvaiableFault
- Throws:
ServiceNotAvaiableFault
buildResourceReport
protected List<ReportObject> buildResourceReport(org.gcube.common.core.resources.GCUBEService resource,
List<ReportObject> listReport,
Map<String,org.gcube.common.core.scope.GCUBEScope> listScopes,
String operation)
- Parameters:
resource -
unregister
public void unregister(org.gcube.vremanagement.softwaregateway.stubs.LocationCoordinates coord)
throws ServiceNotAvaiableFault
- Unregister a package in the Information System
- Parameters:
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
- Throws:
ServiceNotAvaiableFault
getServiceContext
protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
- Return the current context
- Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType
removeLocalSAURL
public void removeLocalSAURL(Coordinates coordinates)
- remove a local SA archive ,
- Parameters:
coordinates - coordinates that identifies the SA
Copyright © 2013. All Rights Reserved.