Module jakarta.cdi

Annotation Type Discovery


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Discovery
    1st phase of build compatible extension execution. Allow adding additional classes to the set of types discovered during type discovery. Also allows registering custom CDI meta-annotations.

    Methods annotated @Discovery may declare parameters of these types:

    Since:
    4.0