Bug?
"Order of interceptor invocation is: default interceptors, class intercepters, method interceptors, and then @AroundInvoke defined in the bean class itself."
Green answer is
"In selfAround" followed by "In getCode" and "In iam1"
but should really be
""In getCode" followed by "In iam1" and "In selfAround" , right?
About Question enthuware.oce-ejbd.v6.2.398 :
Moderator: admin
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.398 :
The given answer is correct. method interceptor iam1(), from Interceptor A is indeed invoked first. But the println in this method is coded after ic.proceed(). So it will be printed at the end.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 52 guests