I had made an error of using, in my DD, the bean's class name instead
of the overriden bean name. Thanks to David for asking that very basic
question.  Sorry if I wasted anybody's time on this.

Problem 1 below is not there.

Problem 2 exists uniformly for both annotation and xml specification.
Here is the problem.
If you try to exclude a class from default interceptors, the lifecycle
events are excluded but the business methods are not.

Cheers
Prasad

On 3/27/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote:
I have an ejb-jar with 3 beans and a default interceptor with wildcard
"*" that applies to all beans.

Problem 1:
---------------

In FirstBean, I specify an @ExcludeDefault for a method. This sticks.
In SecondBean, I specify an <exclude-default-interceptor> for one
method of the bean. It is ignored.
In ThirdBean, I specify an <exclude-default-interceptor> for the whole
class. It is ignored.


Problem 2:
---------------
I now specify an @ExcludeDefaultInterceptor at the class level. Only
the lifecycle events are excluded. The methods calls are still
intercepted.


Cheers
Prasad

Reply via email to