Package org.eclipse.net4j.util.registry
package org.eclipse.net4j.util.registry
Interfaces and classes for general purpose registries.
A registry is like a
Map but has some additional features:
- It provides a descriptor framework for registry elements that are to be instantiated lazily
- It provides a notification framework that enables clients to react on events (including the resolution of a lazy descriptor)
-
ClassDescriptionDelegatingRegistry<K,
V> Implementation note: AbstractDelegatingRegistry does not preserve the "modifyable view" contract ofMap.entrySet()as well as ofMap.keySet(), i.e.HashMapRegistry<K,V> A registry backed by a hash map.A hash-map registry that commits changes immediately.IRegistry<K,V> Registry<K,V> ScopedRegistry<K,V> A logical registry whose entries share one physical backing map with other registries created by the sameScopedRegistry.Store.ScopedRegistry.Store<K,V> Owns the single physical map shared by all registries it creates.Provides aScopedRegistry.Storethat creates logicalScopedRegistryinstances.UnmodifiableRegistry<K,V> A registry view that delegates lookups while preventing modifications.