• 大小: 9.35MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-05
  • 语言: ASP
  • 标签: Spring  aop  Aspect  

资源简介

时间过的真快,转眼就一年了,没想到随手写的笔记会被这么多人浏览,不想误人子弟,于是整理了一个优化版。感谢各位同道的支持!

资源截图

代码片段和文件信息

package com.opr.annotation;

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;

//这里不明白的童鞋可以抽空看看自定义注解
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface OperLog {

//操作类型
String operType() default ““;
//操作人
String user() default ““;
//操作人下标
int userIndex() default -1;

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        796  2018-01-04 15:15  OperationLog\.classpath

     文件        912  2018-01-02 16:01  OperationLog\.project

     文件        567  2018-01-02 16:01  OperationLog\.settings\.jsdtscope

     文件        670  2018-01-04 15:15  OperationLog\.settings\org.eclipse.jdt.core.prefs

     文件        117  2018-01-04 15:15  OperationLog\.settings\org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs

     文件        106  2018-01-04 15:15  OperationLog\.settings\org.eclipse.ltk.core.refactoring.prefs

     文件        488  2018-01-02 16:01  OperationLog\.settings\org.eclipse.wst.common.component

     文件        305  2018-01-04 15:15  OperationLog\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2018-01-02 16:01  OperationLog\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2018-01-02 16:01  OperationLog\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件         87  2018-01-04 15:15  OperationLog\.settings\org.eclipse.wst.ws.service.policy.prefs

     文件        603  2018-01-04 16:11  OperationLog\build\classes\com\opr\annotation\OperLog.class

     文件       1969  2018-01-04 15:44  OperationLog\build\classes\com\opr\controller\UserController.class

     文件        741  2018-01-04 15:24  OperationLog\build\classes\com\opr\entity\UserEntity.class

     文件       2328  2018-01-04 16:09  OperationLog\build\classes\com\opr\interceptor\OperLogInterceptor.class

     文件        991  2018-01-04 15:56  OperationLog\build\classes\com\opr\service\impl\UserServiceImpl.class

     文件        181  2018-01-04 15:39  OperationLog\build\classes\com\opr\service\UserService.class

     文件       1600  2018-01-04 16:07  OperationLog\build\classes\spring\spring-config.xml

     文件        581  2018-01-04 16:11  OperationLog\src\com\opr\annotation\OperLog.java

     文件       1403  2018-01-04 15:44  OperationLog\src\com\opr\controller\UserController.java

     文件        405  2018-01-04 10:41  OperationLog\src\com\opr\entity\UserEntity.java

     文件       1453  2018-01-04 16:09  OperationLog\src\com\opr\interceptor\OperLogInterceptor.java

     文件        719  2018-01-04 15:56  OperationLog\src\com\opr\service\impl\UserServiceImpl.java

     文件        137  2018-01-04 15:39  OperationLog\src\com\opr\service\UserService.java

     文件       1600  2018-01-04 16:07  OperationLog\src\spring\spring-config.xml

     文件         39  2018-01-02 16:01  OperationLog\WebContent\meta-INF\MANIFEST.MF

     文件       1249  2018-01-04 14:39  OperationLog\WebContent\WEB-INF\jsp\error.jsp

     文件       1909  2018-01-04 14:08  OperationLog\WebContent\WEB-INF\jsp\index.jsp

     文件       1220  2018-01-04 16:05  OperationLog\WebContent\WEB-INF\jsp\success.jsp

     文件    1863302  2018-01-04 15:24  OperationLog\WebContent\WEB-INF\lib\aspectjweaver-1.8.5.jar

............此处省略55个文件信息

评论

共有 条评论