public interface ISLocalPublisher
GCUBEResource hosted in the current gHN.
Local publishing is usually enabled when an instance of the IS is co-hosted on the node.| Modifier and Type | Interface and Description |
|---|---|
static class |
ISLocalPublisher.GCUBEResourceMessage |
static class |
ISLocalPublisher.LocalProfileConsumer
Base implementation of a
GCUBEConsumer of ISLocalPublisher.LocalProfileEvent. |
static class |
ISLocalPublisher.LocalProfileEvent
Generic
GCUBEEvent for notification. |
static class |
ISLocalPublisher.LocalProfileTopic
A
ISLocalPublisher.LocalProfileTopic for profile events |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled(String resourceType,
GCUBEScope scope)
Checks if local publishing is enabled for a type of resource in a given scope
|
void |
subscribeLocalProfileEvents(ISLocalPublisher.LocalProfileConsumer consumer)
Subscribes a consumer to all
ISLocalPublisher.LocalProfileEvent |
void subscribeLocalProfileEvents(ISLocalPublisher.LocalProfileConsumer consumer) throws ISPublisherException
ISLocalPublisher.LocalProfileEventconsumer - the consumerISPublisherException - if the registration failsboolean isEnabled(String resourceType, GCUBEScope scope)
resourceType - a GCUBEResource typescope - the scope to checkCopyright © 2015. All Rights Reserved.