
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 CDI Lite extension processing.
* Allow registering additional classes to become part of the application.
* Also allows registering custom CDI meta-annotations.
*
* Methods annotated {@code @Discovery} can define parameters of these types:
*
* - {@link AppArchiveBuilder}: to add classes to application
* - {@link MetaAnnotations}: to register custom meta-annotations:
* qualifiers, interceptor bindings, stereotypes and scopes
* - {@link Messages}: to produce log messages and validation errors
*
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Discovery {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy