public final class RegistryResourcePublisher extends Object
GCUBEResource in the IS-Registry| Modifier and Type | Field and Description |
|---|---|
protected List<org.apache.axis.message.addressing.EndpointReferenceType> |
ICEprs |
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger |
protected ISRegistryClient |
registryClient |
protected org.gcube.informationsystem.registry.stubs.RegistryFactoryPortType |
registryFactoryPortType |
| Constructor and Description |
|---|
RegistryResourcePublisher(org.gcube.common.core.scope.GCUBEScope scope)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
create(org.gcube.common.core.resources.GCUBEResource profile)
Allows registering a profile into IS
|
void |
remove(String ID,
String type)
Removes from the IS the Profile corresponding to the given ID
|
void |
update(org.gcube.common.core.resources.GCUBEResource profile)
Updates a
GCUBEResource on the IS |
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
protected org.gcube.informationsystem.registry.stubs.RegistryFactoryPortType registryFactoryPortType
protected List<org.apache.axis.message.addressing.EndpointReferenceType> ICEprs
protected ISRegistryClient registryClient
public void create(org.gcube.common.core.resources.GCUBEResource profile)
throws Exception
profile - the Profile to register into ISException - if the registration failspublic void remove(String ID, String type) throws Exception
ID - the resource IDtype - the resource typeException - if the removal failsCopyright © 2017. All Rights Reserved.