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

com.jfinal.aop.Inject Maven / Gradle / Ivy

package com.jfinal.aop;

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

/**
 * Inject is used to inject dependent object
 */
@Inherited
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface Inject {
	Class value() default Void.class;					// 被注入类的类型
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy