Top Description Methods
org.osgi.service.component.propertytypes

public @Interface ServiceRanking

extends Annotation
Annotations
@ComponentPropertyType
@Retention:CLASS
@Target:TYPE
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, org.osgi.framework.Constants, org.osgi.service.component.annotations.Component, .ComponentPropertyType

Component Property Type for the service.ranking service property.

This annotation can be used on a Component to declare the value of the Constants#SERVICE_RANKING service property.

Author
$Id: 01ee8b340c7cc21a09e269df318558b65045b175 $
Since
1.4
See Also
Component Property Types

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The service ranking.
value
()

Service property identifying a service's ranking.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public int value()

Service property identifying a service's ranking.

Returns:int

The service ranking.

See Also
Constants#SERVICE_RANKING