|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OsgiServiceSpec
This interface defines the contract between StandardDsoClientConfigHelper and a module so that the configHelper can get information from a module. The concept of "rank" comes from the OSGi "service rank", which lets you define how likely a service is to be returned as the default service from a bundle.
org.osgi.framework.BundleContext#getServiceReference,
org.osgi.framework.Constants#SERVICE_RANKING| Field Summary | |
|---|---|
static java.lang.Integer |
HIGH_RANK
OSGi service ranking defining which service is returned - HIGH=2 |
static java.lang.Integer |
LOW_RANK
OSGi service ranking defining which service is returned - LOW=0 |
static java.lang.Integer |
NORMAL_RANK
OSGi service ranking defining which service is returned - NORMAL=1 |
| Field Detail |
|---|
static final java.lang.Integer LOW_RANK
static final java.lang.Integer NORMAL_RANK
static final java.lang.Integer HIGH_RANK
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||