public abstract class AbstractManager<T extends GeoServiceDescriptor,E extends org.gcube.spatial.data.sdi.model.services.ServiceDefinition,L extends GeoServiceController<T>> extends Object implements GeoServiceManager<T,E>
| Constructor and Description |
|---|
AbstractManager() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getAvailableInstances() |
protected abstract AbstractCluster<T,L> |
getCluster() |
T |
getDescriptorByHostname(String hostname) |
ServiceHealthReport |
getHealthReport() |
protected abstract ISModule |
getRetriever() |
String |
importHostFromToken(String sourceToken,
String hostname) |
String |
registerService(E toRegister) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSuggestedInstancesprotected abstract ISModule getRetriever()
protected abstract AbstractCluster<T,L> getCluster()
public T getDescriptorByHostname(String hostname) throws ConfigurationNotFoundException
getDescriptorByHostname in interface GeoServiceManager<T extends GeoServiceDescriptor,E extends org.gcube.spatial.data.sdi.model.services.ServiceDefinition>ConfigurationNotFoundExceptionpublic List<T> getAvailableInstances() throws ConfigurationNotFoundException
getAvailableInstances in interface GeoServiceManager<T extends GeoServiceDescriptor,E extends org.gcube.spatial.data.sdi.model.services.ServiceDefinition>ConfigurationNotFoundExceptionpublic String registerService(E toRegister) throws ServiceRegistrationException
registerService in interface GeoServiceManager<T extends GeoServiceDescriptor,E extends org.gcube.spatial.data.sdi.model.services.ServiceDefinition>ServiceRegistrationExceptionpublic String importHostFromToken(String sourceToken, String hostname) throws ServiceRegistrationException
importHostFromToken in interface GeoServiceManager<T extends GeoServiceDescriptor,E extends org.gcube.spatial.data.sdi.model.services.ServiceDefinition>ServiceRegistrationExceptionpublic ServiceHealthReport getHealthReport()
getHealthReport in interface GeoServiceManager<T extends GeoServiceDescriptor,E extends org.gcube.spatial.data.sdi.model.services.ServiceDefinition>Copyright © 2020. All Rights Reserved.