host.anzo.commons.annotations.startup.StartupComponent Maven / Gradle / Ivy
package host.anzo.commons.annotations.startup;
import host.anzo.classindex.IndexAnnotated;
import host.anzo.commons.enums.startup.EShutdownPriority;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author ANZO
* @since 27.12.2016
*/
@IndexAnnotated
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface StartupComponent {
String value();
Class>[] dependency() default {};
EShutdownPriority shutdownPriority() default EShutdownPriority.ORDINAL;
}