com.litongjava.annotation.ABean Maven / Gradle / Ivy
package com.litongjava.annotation;
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;
@Target({ ElementType.METHOD, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ABean {
String value() default "";
String destroyMethod() default "";
String initMethod() default "";
/**
* Startup priority, the smaller the value, the higher the startup priority
* @return
*/
int priority() default 100;
}