|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Preferred
Provides a means to give preference to an SPI implementation over others. Use either with or without a weight, in the latter case the higher the value, the stronger the preference.
Optional Element Summary | |
---|---|
int |
weight
|
public abstract int weight
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |