一、代码地址

https://github.com/bjlhx15/smart-framework.git

二、代码编写

2.1、定义切面注解

增加Aspect注解

package com.lhx.smart.framework.annotation;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Aspect {
    Class<? extends Annotation> value();
}
View Code

相关文章: