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

io.smallrye.graphql.cdi.event.BeforeDataFetch Maven / Gradle / Ivy

There is a newer version: 2.11.0
Show newest version
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 {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy