org.jvnet.hk2.annotations
Annotation Type Contract


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Contract

Marker annotation to allow implementations to be discovered from the contract they implement.

There are two usages of this annotation.

Contract interface

This annotation can be placed on classes to indicate that when automatically deducing the set of advertised classes that it should be included.

Author:
Jerome Dochez
See Also:
Index



Copyright © 2013 Oracle Corporation. All Rights Reserved.