
io.baratine.inject.Priority Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
A reactive Java web server.
The newest version!
package io.baratine.inject;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
/**
* Annotation Priority is used to determine order of matching bindings for
* Beans, ViewResolvers, ViewRenders, Converters
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({TYPE,METHOD})
public @interface Priority
{
/**
* Priority value for selecting the top most match
*
* @return priority value
*/
int value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy