org.jvnet.hk2.annotations
public @Interface Contract
extends Annotation
- Annotations
- @Documented
- @Retention:RUNTIME
- @Target:TYPE
- @ContractIndicator
- Static Imports
- java.lang.annotation.ElementType.TYPE, .RetentionPolicy.RUNTIME
This annotation is used by HK2 during automatic
class analysis to indicate that a class or
interface should be included in the list of
contracts for a service
- Author
- Jerome Dochez
- See Also
ContractsProvided