public final class InstanceStatePublisher extends Object
| Constructor and Description |
|---|
InstanceStatePublisher(org.gcube.common.core.scope.GCUBEScope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
register(org.gcube.common.core.state.GCUBEWSResource resource,
String... name)
Registers the WS-ResourceProperties document published by the given resource
|
void |
remove(org.gcube.common.core.state.GCUBEWSResource resource,
String... name)
/**
Unregisters the WS-ResourceProperties document published by the given resource
|
public InstanceStatePublisher(org.gcube.common.core.scope.GCUBEScope scope)
throws GCUBEPublisherException
scope - the GCUBEScope where to publish the documentGCUBEPublisherExceptionpublic void register(org.gcube.common.core.state.GCUBEWSResource resource,
String... name)
throws GCUBEPublisherException
resource - the source WS-Resourcename - the optional name of the registrationGCUBEPublisherException - if the registration failspublic void remove(org.gcube.common.core.state.GCUBEWSResource resource,
String... name)
throws GCUBEPublisherException
resource - the WS-Resource that publishes the properties to removename - the name of the Named RegistrationExceptionGCUBEPublisherExceptionCopyright © 2017. All Rights Reserved.