|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface Contract
Used to annotate SPI provider contracts recognized by Jersey (in addition to the JAX-RS providers).
All proprietary Jersey extension APIs are annotated with the @Contract annotation.
Similarly, each custom (i.e. not JAX-RS or Jersey) provider contract that must be annotated with this annotation otherwise concrete service classes implementing the provider contract would not be recognized and treated by Jersey as provider services.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||