Package io.micronaut.core.annotation
Annotation Interface Indexed
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD,ANNOTATION_TYPE})
@Repeatable(Indexes.class)
@Inherited
public @interface Indexed
An annotation that can be used on types where there may be many implementations of a
particular interface. This triggers building of an index internal to the bean context that speeds up bean lookups by type.
- Since:
- 1.1
- Author:
- graemerocher
-
Required Element Summary
-
Element Details
-
value
Class<?> value- Returns:
- The indexed type
-