So, for Weld we use an interceptor in order to apply the JSR-299 interceptors (bound using @InterceptorBinding) to EJBs.
The requirement is to invoke those interceptors after the standard EJB 3 interceptors. In order to do that, we try to place the additional interceptor last in the list.
The line that is supposed to do this is:
{code}
// Add JSR-299 binding interceptor as the last (all others have to be// called first)interceptorBindings.add(bindingsIBMD);{code}