[英]can we do AOP logging for class which is not annotated with spring annotation
我想為這個 class 做 AspectJ 日志記錄,有人可以建議我怎么做,或者它甚至可能嗎?
public class Class{
public void method(){
// code
}
}
不,Spring AOP 只會處理 Spring 管理的 Bean。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.