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

com.penglecode.common.support.HttpRequestLogging Maven / Gradle / Ivy

Go to download

commons is a little java tool to make your development easier in your work.

The newest version!
package com.penglecode.common.support;

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;
/**
 * 对于打在Spring MVC控制器或其方法上该注解将进行日志记录
 * 
 * @author	  	pengpeng
 * @date	  	2014年10月16日 下午9:17:42
 * @version  	1.0
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface HttpRequestLogging {

	String title();
	
	boolean persistIntoDatabase() default true;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy