在spring的aop中获取自定义注解的参数值,即在切面中获取annotation的参数值

annotationjava @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Delete { String key() default ""; } 切面(aspect) @Aspect @Component public class Aspect { @After(valu
相关文章
相关标签/搜索