用于日志记录的 EJB3 拦截器
在 MDB 应用程序中,是否可以将 EJB3 拦截器配置为记录非 bean 类方法,这些方法又由 bean 方法 (OnMessage) 调用?
提前致谢
In an MDB application, Can the EJB3 Interceptor be configured to log the Non bean class methods, which are inturn invoked by the bean method (OnMessage)?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,EJB拦截器仅适用于业务方法。对于非业务方法,需要使用面向方面的编程技术。
No, EJB interceptors are only applicable to business methods. For non-business methods, you need to use an aspect-oriented programming technology.