public class AdapterFactoryDescriptorMap extends TreeMap<org.osgi.framework.ServiceReference<org.apache.sling.api.adapter.AdapterFactory>,AdapterFactoryDescriptor>
AdapterFactoryDescriptorMap
is a sorted map of
AdapterFactoryDescriptor
instances indexed (and ordered) by their
ServiceReference
. This map is used to organize the
registered AdapterFactory
services for
a given adaptable type.
Each entry in the map is a AdapterFactoryDescriptor
thus enabling the
registration of multiple factories for the same (adaptable, adapter) type
tuple. Of course only the first entry (this is the reason for having a sorted
map) for such a given tuple is actually being used. If that first instance is
removed the eventual second instance may actually be used instead.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AdapterFactoryDescriptorMap() |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.