Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2012. All Rights Reserved.