org.apache.sling.adapter.internal
Class AdapterFactoryDescriptorMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<AdapterFactoryDescriptorKey,AdapterFactoryDescriptor>
org.apache.sling.adapter.internal.AdapterFactoryDescriptorMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<AdapterFactoryDescriptorKey,AdapterFactoryDescriptor>, NavigableMap<AdapterFactoryDescriptorKey,AdapterFactoryDescriptor>, SortedMap<AdapterFactoryDescriptorKey,AdapterFactoryDescriptor>
public class AdapterFactoryDescriptorMap
- extends TreeMap<AdapterFactoryDescriptorKey,AdapterFactoryDescriptor>
The AdapterFactoryDescriptorMap
is a sorted map of
AdapterFactoryDescriptor
instances indexed (and ordered) by their
AdapterFactoryDescriptorKey
. 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.
- See Also:
- Serialized Form
Methods inherited from class java.util.TreeMap |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values |
AdapterFactoryDescriptorMap
public AdapterFactoryDescriptorMap()
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.