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

com.sdklite.spi.annotation.ServiceProvider Maven / Gradle / Ivy

The newest version!
package com.sdklite.spi.annotation;

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

/**
 * Indicates that the specified services has been provied by the annotated class
 *
 * @author johnsonlee
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ServiceProvider {

    /**
     * Returns the services provided by the annotated class
     */
    Class[] value();

    /**
     * Returns the priority 
     */
    long priority() default 0;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy