|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface BindingPriority
Filters and interceptors are grouped in chains for each of the extension points: Pre, PreMatch, Post as well as ReadFrom and WriteTo. Each of these chains is sorted by binding priorities which are represented as integer numbers. All chains except Post are sorted in ascending order; the lower the number the higher the priority. The Post filter chain is sorted in descending order to ensure that response filters are executed in reverse order.
This class defines a few built-in priority classes. Filters and interceptors
that belong to the same priority class (same integer value) are executed
in an implementation-defined manner. By default, i.e. when
this annotation is absent, a filter or interceptor is defined in the
USER
class.
Required Element Summary | |
---|---|
int |
value
Priority defined for a filter or interceptor. |
Element Detail |
---|
public abstract int value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |