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

org.jboss.weld.experimental.Priority Maven / Gradle / Ivy

There is a newer version: 6.0.2.Final
Show newest version
package org.jboss.weld.experimental;

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;

/**
 * This API is experimental and will change!
 *
 * This annotation duplicates javax.annotation.Priority. Unlike javax.annotation.Priority, this annotation can also be applied on parameters
 * which makes it usable for specifying the priority of observer methods.
 *
 * In the future, javax.annotation.Priority will be updated and this annotation will be removed.
 *
 * @author Jozef Hartinger
 *
 */
@Target({ TYPE, PARAMETER })
@Retention(RUNTIME)
@Documented
public @interface Priority {
    int value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy