新建一个接口并在interface前面添加@
public @interface LogAnnotation{
}
Spring框架下使用AOP实现日志功能
原文:http://www.cnblogs.com/20170719log/p/7210658.html