- 在这一章我们会对框架的IOC以及AOP的功能进行测试
package com.wuyiccc.demo.aop;
import com.wuyiccc.helloframework.core.annotation.Component;
import lombok.extern.slf4j.Slf4j;
/**
* @author wuyiccc
* @date 2020/7/14 15:39
* 岂曰无衣,与子同袍~
*/
@Component
@Slf4j
public class AspectTarget {
public void testRight() {
log.info("AspectTarget#Right()方法执行!");
}
public void testThrowing() {
log.info("AspectTarget#testThrowing()方法执行");
throw new RuntimeException();
}
}
github地址:https://github.com/wuyiccc/helloframework
本文地址:https://blog.csdn.net/qq_27148729/article/details/107340577
如对本文有疑问, 点击进行留言回复!!
《CTF特训营》web部分读书笔记(二)跨站脚本攻击(XSS)
国密SM1\ SM2\ SM3\ SM4\ SSF33算法和国际RSA算法的对应关系
网友评论