org.apache.sling.adapter.internal
Class AdapterFactoryDescriptorKey
java.lang.Object
org.apache.sling.adapter.internal.AdapterFactoryDescriptorKey
- All Implemented Interfaces:
- Comparable<AdapterFactoryDescriptorKey>
public class AdapterFactoryDescriptorKey
- extends Object
- implements 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.
AdapterFactoryDescriptorKey
public AdapterFactoryDescriptorKey(org.osgi.framework.ServiceReference ref)
compareTo
public int compareTo(AdapterFactoryDescriptorKey o)
- Specified by:
compareTo
in interface Comparable<AdapterFactoryDescriptorKey>
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.