intercept « ejb « Java Enterprise Q&A





1. Is the ArroundInvoke method gets invoked if it were invoked from another ejb method?    stackoverflow.com

I've the following case:

@Interceptors(MyInterceptClass.class)
public void ejbMethod1()
{

}


@Interceptors(MyInterceptClass.class)
public void ejbMethod2()
{
    ejbMethod1();
}
Is calling ejbMethod2 causes TWO interceptor calls to be executed? Thanks.