public String ping() { ActionSequence.addAction("pong"); return "pong"; }
@AroundInvoke public Object intercept(InvocationContext ctx) throws Exception { ActionSequence.addAction("interceptor"); return super.aroundInvoke(ctx); }
@PostConstruct public void init() { ActionSequence.addAction("conversationCreated"); }
@PreDestroy public void destroy() { ActionSequence.addAction("conversationDestroyed"); }
@AroundInvoke public Object alwaysReturnThis(InvocationContext ctx) throws Exception { ActionSequence.addAction(HighPriorityGlobalInterceptor.class.getName()); return ctx.proceed(); }