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.TransactionIContainer.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(java.lang.Object key) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
java.util.Set<K> |
keySet() |
protected java.util.Set<java.util.Map.Entry<K,V>> |
mergedEntrySet() |
protected java.util.Set<K> |
mergedKeySet() |
protected java.util.Collection<V> |
mergedValues() |
protected V |
register(K key,
V value) |
java.util.Collection<V> |
values() |
autoCommit, clear, commit, commit, containsKey, containsValue, getElements, getMap, getTransaction, isAutoCommit, isEmpty, put, putAll, remove, setAutoCommit, size, toStringfireContainerEvent, fireContainerEvent, fireContainerEvent, fireElementAddedEvent, fireElementRemovedEvent, fireElementsAddedEvent, fireElementsRemovedEvent, fireEvent, newContainerEvent, newContainerEventactivate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivationaddListener, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAlladdListener, getListeners, hasListeners, removeListenerpublic V get(java.lang.Object key)
public java.util.Set<K> keySet()
public java.util.Collection<V> values()
protected V deregister(java.lang.Object key)
deregister in class Registry<K,V>protected java.util.Set<K> mergedKeySet()
protected java.util.Collection<V> mergedValues()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html