NutzCN Logo
问答 关于nutz拦截器小疑问
发布于 2305天前 作者 bb3239 1714 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
public class TransactionInterceptor implements MethodInterceptor {

}

Nutz里面提供的这个TransactionInterceptor 拦截器并没有声明@IocBean注解,那如何调用,@Aop("transactionInterceptor ")?

4 回复

有 org.nutz.aop.interceptor.ioc.TransIocLoader

@wendal 那LoggingMethodInterceptor在哪里添加到Ioc的?

没有用到这个,自行配置才会生效

来自炫酷的 NutzCN

@wendal 了解了,非常感谢

添加回复
请先登陆
回到顶部