org.eclipse.gemini.blueprint.service.importer.support.internal.util
Class ServiceComparatorUtil

java.lang.Object
  extended by org.eclipse.gemini.blueprint.service.importer.support.internal.util.ServiceComparatorUtil

public abstract class ServiceComparatorUtil
extends Object

Utility used for comparing ServiceReferences. This class takes into account OSGi 4.0 platforms by providing its own internal comparator.

Author:
Costin Leau

Field Summary
protected static Comparator COMPARATOR
           
protected static boolean OSGI_41
           
 
Constructor Summary
ServiceComparatorUtil()
           
 
Method Summary
static int compare(org.osgi.framework.ServiceReference left, Object right)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OSGI_41

protected static final boolean OSGI_41

COMPARATOR

protected static final Comparator COMPARATOR
Constructor Detail

ServiceComparatorUtil

public ServiceComparatorUtil()
Method Detail

compare

public static int compare(org.osgi.framework.ServiceReference left,
                          Object right)


Copyright © 2006-2013. All Rights Reserved.