|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.TreeMap<org.osgi.framework.ServiceReference,AdapterFactoryDescriptor>
org.apache.sling.adapter.internal.AdapterFactoryDescriptorMap
public class AdapterFactoryDescriptorMap
The 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
AdapterFactoryDescriptorMap()
|
|
| Method Summary |
|---|
| 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 |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, isEmpty, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode, isEmpty |
| Constructor Detail |
|---|
public AdapterFactoryDescriptorMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||