|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.util.ServiceReferenceRankingComparator
public class ServiceReferenceRankingComparator
Service Reference Comparator. This comparator follow OSGi Ranking policy.
Constructor Summary | |
---|---|
ServiceReferenceRankingComparator()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object ref1,
java.lang.Object ref2)
Compare two service reference. |
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 |
Constructor Detail |
---|
public ServiceReferenceRankingComparator()
Method Detail |
---|
public int compare(java.lang.Object ref1, java.lang.Object ref2)
compare
in interface java.util.Comparator
ref1
- : reference 1ref2
- : reference 2
Comparator.compare(java.lang.Object, java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |