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

public @Interface ServiceRanking

extends Annotation
Annotations
@BeanPropertyType
@Retention:RUNTIME
@Target:FIELD, METHOD, PARAMETER, TYPE
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, org.osgi.framework.Constants, org.osgi.service.cdi.annotations.BeanPropertyType

Bean Property Type for the service.ranking service property.

This annotation can be used as defined by BeanPropertyType to declare the value of the Constants#SERVICE_RANKING service property.

Author
$Id: 643a27f63c2a6976b47397da579b726fc7e9f0cf $
See Also
Bean 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