org.apache.sling.commons.classloader.impl
Class DynamicClassLoaderManagerImpl.ServiceReferenceComparator

java.lang.Object
  extended by org.apache.sling.commons.classloader.impl.DynamicClassLoaderManagerImpl.ServiceReferenceComparator
All Implemented Interfaces:
Comparator<org.osgi.framework.ServiceReference>
Enclosing class:
DynamicClassLoaderManagerImpl

protected static final class DynamicClassLoaderManagerImpl.ServiceReferenceComparator
extends Object
implements Comparator<org.osgi.framework.ServiceReference>

Comparator for service references.


Field Summary
static DynamicClassLoaderManagerImpl.ServiceReferenceComparator INSTANCE
           
 
Constructor Summary
protected DynamicClassLoaderManagerImpl.ServiceReferenceComparator()
           
 
Method Summary
 int compare(org.osgi.framework.ServiceReference o1, org.osgi.framework.ServiceReference o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static DynamicClassLoaderManagerImpl.ServiceReferenceComparator INSTANCE
Constructor Detail

DynamicClassLoaderManagerImpl.ServiceReferenceComparator

protected DynamicClassLoaderManagerImpl.ServiceReferenceComparator()
Method Detail

compare

public int compare(org.osgi.framework.ServiceReference o1,
                   org.osgi.framework.ServiceReference o2)
Specified by:
compare in interface Comparator<org.osgi.framework.ServiceReference>


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.