io.smallrye.graphql.cdi.event.BeforeDataFetch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smallrye-graphql-cdi Show documentation
Show all versions of smallrye-graphql-cdi Show documentation
Allow lookup up of GraphQL Beans via CDI
package io.smallrye.graphql.cdi.event;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import jakarta.enterprise.util.AnnotationLiteral;
import jakarta.inject.Qualifier;
/**
* CDI Event fired before DataFetch
*
* @author Phillip Kruger ([email protected])
*/
@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE })
public @interface BeforeDataFetch {
static BeforeDataFetch.BeforeDataFetchLiteral LITERAL = new BeforeDataFetch.BeforeDataFetchLiteral();
class BeforeDataFetchLiteral extends AnnotationLiteral implements BeforeDataFetch {
}
}