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

com.github.mizool.core.NonDefault Maven / Gradle / Ivy

The newest version!
package com.github.mizool.core;

import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import jakarta.inject.Qualifier;

/**
 * Prevents the class from being injected at unqualified injection points.
*
* Use this if the bean has to implement a certain interface but should not be injected at corresponding injection * points. */ @Target(value = { TYPE, PACKAGE, PARAMETER }) @Retention(value = RUNTIME) @Documented @Qualifier public @interface NonDefault { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy