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

javax.enterprise.inject.Requires Maven / Gradle / Ivy

package javax.enterprise.inject;

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

/**
 * 

* Veto the processing of the type if the required classes are not available. * Any beans defined by the type will not be installed. *

* *

* When placed on package, all beans in the package are installed if only if * all of required classes are available. *

* *

* If annotation is defined both on the package and the bean, union of * required classes defined by these annotations is considered. *

* * @author Stuart Douglas * @author Jozef Hartinger * * @see Veto * */ @Target({ ElementType.TYPE, ElementType.PACKAGE }) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Requires { String[] value(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy