FileDocCategorySizeDatePackage
SecondInterceptor.javaAPI DocJBoss 4.2.11666Fri Jul 13 20:53:28 BST 2007org.jboss.ejb3.test.bank

SecondInterceptor

public class SecondInterceptor extends Object
author
Kabir Khan
version
$Revision: 57207 $

Fields Summary
private static final Logger
log
Constructors Summary
Methods Summary
public java.lang.ObjecttwoMethod(javax.interceptor.InvocationContext ctx)


        
   
      String concat = "";
      if (ctx.getMethod().getName().equals("interceptCustomerId"))
      {
         concat = "_SecondInterceptor";
      }
      Object result = ctx.proceed() + concat;
      return result;