org.apache.sling.adapter.internal
Class AdapterFactoryDescriptorKey
java.lang.Object
org.apache.sling.adapter.internal.AdapterFactoryDescriptorKey
- All Implemented Interfaces:
- java.lang.Comparable<AdapterFactoryDescriptorKey>
public class AdapterFactoryDescriptorKey
- extends java.lang.Object
- implements java.lang.Comparable<AdapterFactoryDescriptorKey>
The AdapterFactoryDescriptorKey
provides the indexing
functionality for the AdapterFactoryDescriptorMap
. The key consists
of the OSGi service.id
of the
AdapterFactory
service and the ID of
the the bundle providing the service.
Sort order among the keys is defined primarily by the bundle id and
secondarily by the service id.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AdapterFactoryDescriptorKey
public AdapterFactoryDescriptorKey(org.osgi.framework.ServiceReference ref)
compareTo
public int compareTo(AdapterFactoryDescriptorKey o)
- Specified by:
compareTo
in interface java.lang.Comparable<AdapterFactoryDescriptorKey>
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.