Spring基礎(八):SpringAop註解的形式

1.在applicationContext.xml中app <context:component-scan base-package="aop.annotation"></context:component-scan> <aop:aspect-autoproxy></aop:aspect-autoproxy> 2.在實現類上加接口類的註解代理            ClassDaoImpl類上加:
相關文章
相關標籤/搜索