@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Priority
For example, the Interceptors specification defines the use of priorities on interceptors to control the order in which interceptors are called.
Priority values should generally be non-negative, with negative values reserved for special meanings such as "undefined" or "not specified". A specification that defines use of the Priority annotation may define the range of allowed priorities and any priority values with special meaning.
Modifier and Type | Required Element and Description |
---|---|
int |
value
The priority value.
|