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

cn.takujo.common_api.log.Logable Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package cn.takujo.common_api.log;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 可被日志化
 * 
 * @author wzx
 *
 */
@Documented
@Retention(RUNTIME)
@Target(METHOD)
public @interface Logable {

	/**
	 * 业务描述
	 * 
	 * @return 业务方法动作
	 */
	String action() default "";

	/**
	 * 业务类型
	 * 
	 * @return 类型
	 */
	String type() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy