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