org.apache.sling.adapter.internal
Class AdapterFactoryDescriptorKey

java.lang.Object
  extended by 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.


Constructor Summary
AdapterFactoryDescriptorKey(org.osgi.framework.ServiceReference ref)
           
 
Method Summary
 int compareTo(AdapterFactoryDescriptorKey o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterFactoryDescriptorKey

public AdapterFactoryDescriptorKey(org.osgi.framework.ServiceReference ref)
Method Detail

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.