org.gcube.common.informationsystem.publisher.impl.instancestates
Class InstanceStatePublisher
java.lang.Object
org.gcube.common.informationsystem.publisher.impl.instancestates.InstanceStatePublisher
public final class InstanceStatePublisher
- extends Object
Manager for registrations of services' states in the IS.
- Author:
- Manuele Simi (ISTI-CNR)
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceStatePublisher
public InstanceStatePublisher(org.gcube.common.core.scope.GCUBEScope scope)
throws GCUBEPublisherException
- Parameters:
scope - the GCUBEScope where to publish the document
- Throws:
GCUBEPublisherException
register
public void register(org.gcube.common.core.state.GCUBEWSResource resource,
String... name)
throws GCUBEPublisherException
- Registers the WS-ResourceProperties document published by the given resource
- Parameters:
resource - the source WS-Resourcename - the optional name of the registration
- Throws:
GCUBEPublisherException - if the registration fails
remove
public void remove(org.gcube.common.core.state.GCUBEWSResource resource,
String... name)
throws GCUBEPublisherException
- /**
Unregisters the WS-ResourceProperties document published by the given resource
- Parameters:
resource - the WS-Resource that publishes the properties to removename - the name of the Named Registration
- Throws:
Exception
GCUBEPublisherException
Copyright © 2013. All Rights Reserved.