public class ISRegistryInstanceGroup extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addRegistry(ISRegistryInstance instance)
Adds a new ISRegistry instance to use for the given resource type
|
static ISRegistryInstanceGroup |
getInstanceGroup() |
Set<ISRegistryInstance> |
getRegistryInstancesForTypeAndScope(String type,
org.gcube.common.core.scope.GCUBEScope scope)
Gets the list of instances managing the given resource type in the specified
GCUBEScope |
public static ISRegistryInstanceGroup getInstanceGroup()
public Set<ISRegistryInstance> getRegistryInstancesForTypeAndScope(String type, org.gcube.common.core.scope.GCUBEScope scope) throws ISRegistryLookup.NoRegistryAvailableException
GCUBEScopetype - scope - ISRegistryLookup.NoRegistryAvailableExceptionpublic void addRegistry(ISRegistryInstance instance)
instance - the new instanceCopyright © 2017. All Rights Reserved.