public abstract class DelegatingRegistry<K,V> extends Registry<K,V>
Map.entrySet()
as well as of Map.keySet()
, i.e. they are disconnected sets and modifications applied
to them are not applied to their underlying AbstractDelegatingRegistry.
Registry.Transaction
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
ILifecycle.DeferrableActivation
Constructor and Description |
---|
DelegatingRegistry(IRegistry<K,V> delegate) |
DelegatingRegistry(IRegistry<K,V> delegate,
boolean autoCommit) |
Modifier and Type | Method and Description |
---|---|
protected V |
deregister(Object key) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
Set<K> |
keySet() |
protected Set<Map.Entry<K,V>> |
mergedEntrySet() |
protected Set<K> |
mergedKeySet() |
protected Collection<V> |
mergedValues() |
protected V |
register(K key,
V value) |
Collection<V> |
values() |
autoCommit, clear, commit, commit, containsKey, containsValue, getElements, getMap, getTransaction, isAutoCommit, isEmpty, put, putAll, remove, setAutoCommit, size, toString
fireContainerEvent, fireContainerEvent, fireContainerEvent, fireElementAddedEvent, fireElementRemovedEvent, fireElementsAddedEvent, fireElementsRemovedEvent, fireEvent, newContainerEvent, newContainerEvent
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation
addListener, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
addListener, getListeners, hasListeners, removeListener
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.