开发者

EJB3 Interceptors for logging

In an MDB application, Can the EJB3 Interceptor be configur开发者_高级运维ed to log the Non bean class methods, which are inturn invoked by the bean method (OnMessage)?

Thanks in advance


No, EJB interceptors are only applicable to business methods. For non-business methods, you need to use an aspect-oriented programming technology.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜