preeth
preeth

Reputation: 1

EJB3 Interceptors for logging

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

Upvotes: 0

Views: 1029

Answers (1)

Brett Kail
Brett Kail

Reputation: 33936

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

Upvotes: 1

Related Questions