All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jakarta.enterprise.inject.build.compatible.spi.Discovery Maven / Gradle / Ivy

package jakarta.enterprise.inject.build.compatible.spi;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 1st phase of {@linkplain BuildCompatibleExtension 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 {@code @Discovery} may declare parameters of these types: *

    *
  • {@link ScannedClasses}
  • *
  • {@link MetaAnnotations}
  • *
  • {@link Messages}
  • *
* * @since 4.0 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface Discovery { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy