public abstract class AbstractClusterDecorator extends AbstractPluginDecorator implements IClusterConfig
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
obContext, upstream
Constructor and Description |
---|
AbstractClusterDecorator(IClusterConfig upstream) |
Modifier and Type | Method and Description |
---|---|
protected IObservationContext<IClusterConfig> |
getObservationContext() |
List<IPluginConfig> |
getPlugins()
The plugin configurations in the cluster.
|
List<String> |
getProperties()
Properties that specify additional plugin behavior.
|
List<PropertyDescriptor> |
getPropertyDescriptors()
Descriptors of additional plugin properties.
|
List<String> |
getReferences()
The keys for services that are used by plugins in the cluster.
|
List<String> |
getServices()
The list of keys for services.
|
protected IClusterConfig |
getUpstream() |
void |
setPlugins(List<IPluginConfig> plugins)
Update the plugins in the cluster.
|
void |
startObservation()
When the first
IObserver of this observable is registered with the observer
registry, observation is started. |
void |
stopObservation()
When the last
IObserver unregisters, observation is stopped. |
containsKey, decorate, detach, entrySet, equals, get, getDouble, getDouble, getDuration, getName, getPluginConfig, getPluginConfigSet, getTime, hashCode, isImmutable, makeImmutable, setObservationContext, toString, wrap, wrapConfig
add, clear, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, getBoolean, getCharSequence, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, putAll, remove
clone, containsValue, isEmpty, keySet, put, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getPluginConfig, getPluginConfigSet
getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, getTime, isImmutable, makeImmutable
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, setObservationContext
public AbstractClusterDecorator(IClusterConfig upstream)
protected IClusterConfig getUpstream()
public List<IPluginConfig> getPlugins()
IClusterConfig
getPlugins
in interface IClusterConfig
public void setPlugins(List<IPluginConfig> plugins)
IClusterConfig
setPlugins
in interface IClusterConfig
public final List<String> getProperties()
IClusterConfig
The returned list is only mutable when the configuration is used as a template.
getProperties
in interface IClusterConfig
public final List<String> getReferences()
IClusterConfig
The returned list is only mutable when the configuration is used as a template.
getReferences
in interface IClusterConfig
public final List<String> getServices()
IClusterConfig
IRenderService
.
The returned list is only mutable when the configuration is used as a template.
getServices
in interface IClusterConfig
public List<PropertyDescriptor> getPropertyDescriptors()
IClusterConfig
Changes to the returned list have no effect on actual configuration.
getPropertyDescriptors
in interface IClusterConfig
protected IObservationContext<IClusterConfig> getObservationContext()
getObservationContext
in class AbstractPluginDecorator
public void startObservation()
IObservable
IObserver
of this observable is registered with the observer
registry, observation is started. Implementations must notify observers until observation
is stopped.
An implementation should register listeners with external data sources, when appropriate. It is possible for an observable to register as an observer for another observable.
startObservation
in interface IObservable
startObservation
in class AbstractPluginDecorator
public void stopObservation()
IObservable
IObserver
unregisters, observation is stopped. Any listeners
or observers registered by the observable must be unregistered by the implementation.stopObservation
in interface IObservable
stopObservation
in class AbstractPluginDecorator
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.