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.
精彩评论