@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface Contract
Similarly, any custom (i.e. not JAX-RS or Jersey) extension provider contract must be annotated with this annotation otherwise concrete service classes implementing the provider contract would not be recognized and treated as extension service provider by Jersey runtime.
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.