Annotation Type 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
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value  
    • Element Detail

      • value

        java.lang.Class<?> value
        Returns:
        The indexed type