@Stateless @Binding
class Foo { void ping() {} }
@Interceptor @Binding @Priority(1001)
class I1 extends I2 {
@AroundInvoke
public Object intercept2(InvocationContext ctx) throws Exception {
return ctx.proceed();
}
}
class I2 extends I3 {
@AroundInvoke
public Object intercept1(InvocationContext ctx) throws Exception {
return ctx.proceed();
}
}
class I3 {
@AroundInvoke
public Object intercept0(InvocationContext ctx) throws Exception {
return ctx.proceed();
}
}