Class JcrClusterConfig
java.lang.Object
java.util.AbstractMap<String,Object>
org.hippoecm.frontend.model.map.AbstractValueMap
org.hippoecm.frontend.plugin.config.impl.JcrPluginConfig
org.hippoecm.frontend.plugin.config.impl.JcrClusterConfig
- All Implemented Interfaces:
Serializable
,Map<String,
,Object> org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
,org.apache.wicket.util.value.IValueMap
,IObservable
,IClusterConfig
,IPluginConfig
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class org.hippoecm.frontend.plugin.config.impl.JcrPluginConfig
nodeModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionentrySet()
boolean
Equivalence of observables; observation will only be started on one instance.The plugin configurations in the cluster.Properties that specify additional plugin behavior.Descriptors of additional plugin properties.The keys for services that are used by plugins in the cluster.The list of keys for services.int
hashCode()
void
setPlugins
(List<IPluginConfig> plugins) Update the plugins in the cluster.void
When the firstIObserver
of this observable is registered with the observer registry, observation is started.void
When the lastIObserver
unregisters, observation is stopped.Methods inherited from class org.hippoecm.frontend.plugin.config.impl.JcrPluginConfig
clear, detach, get, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInstant, getInt, getInt, getKey, getLong, getLong, getName, getNodeModel, getObservationContext, getPluginConfig, getPluginConfigSet, getString, getString, getStringArray, getStringValue, isImmutable, makeImmutable, put, setObservationContext, sync, toString, unwrap, unwrapConfig, wrap, wrapConfig
Methods inherited from class org.hippoecm.frontend.model.map.AbstractValueMap
add, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInstant, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, putAll, remove
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, isEmpty, keySet, size, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hippoecm.frontend.model.event.IObservable
setObservationContext
Methods inherited from interface org.hippoecm.frontend.plugin.config.IPluginConfig
getName, getPluginConfig, getPluginConfigSet
Methods inherited from interface org.apache.wicket.util.value.IValueMap
getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInstant, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInstant, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, isImmutable, makeImmutable
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
JcrClusterConfig
-
-
Method Details
-
getPlugins
Description copied from interface:IClusterConfig
The plugin configurations in the cluster. Returns an immutable list of plugins.- Specified by:
getPlugins
in interfaceIClusterConfig
-
setPlugins
Description copied from interface:IClusterConfig
Update the plugins in the cluster. Only available when the the configuration is used as a template for the cluster configuration.- Specified by:
setPlugins
in interfaceIClusterConfig
-
getServices
Description copied from interface:IClusterConfig
The list of keys for services. Since service types are not available, it is recommended to always use well-known keys when they exist. I.e. use "wicket.id" to identify anIRenderService
.The returned list is only mutable when the configuration is used as a template.
- Specified by:
getServices
in interfaceIClusterConfig
-
getReferences
Description copied from interface:IClusterConfig
The keys for services that are used by plugins in the cluster.The returned list is only mutable when the configuration is used as a template.
- Specified by:
getReferences
in interfaceIClusterConfig
-
getProperties
Description copied from interface:IClusterConfig
Properties that specify additional plugin behavior.The returned list is only mutable when the configuration is used as a template.
- Specified by:
getProperties
in interfaceIClusterConfig
-
entrySet
-
getPropertyDescriptors
Description copied from interface:IClusterConfig
Descriptors of additional plugin properties.Changes to the returned list have no effect on actual configuration.
- Specified by:
getPropertyDescriptors
in interfaceIClusterConfig
-
equals
Description copied from interface:IObservable
Equivalence of observables; observation will only be started on one instance.- Specified by:
equals
in interfaceIObservable
- Specified by:
equals
in interfaceMap<String,
Object> - Overrides:
equals
in classJcrPluginConfig
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceIObservable
- Specified by:
hashCode
in interfaceMap<String,
Object> - Overrides:
hashCode
in classJcrPluginConfig
- See Also:
-
startObservation
public void startObservation()Description copied from interface:IObservable
When the firstIObserver
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.
- Specified by:
startObservation
in interfaceIObservable
- Overrides:
startObservation
in classJcrPluginConfig
-
stopObservation
public void stopObservation()Description copied from interface:IObservable
When the lastIObserver
unregisters, observation is stopped. Any listeners or observers registered by the observable must be unregistered by the implementation.- Specified by:
stopObservation
in interfaceIObservable
- Overrides:
stopObservation
in classJcrPluginConfig
-