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

ExternalCallbackListener

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

Fields Summary
Constructors Summary
Methods Summary
public voidpostActivate(javax.interceptor.InvocationContext ctx)

      TestStatusBean.postActivate = true;
      try
      {
         ctx.proceed();
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
      }
   
public voidpostConstruct(javax.interceptor.InvocationContext ctx)

      TestStatusBean.postConstruct = true;
      try
      {
         ctx.proceed();
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
      }
   
public voidpreDestroy(javax.interceptor.InvocationContext ctx)

      TestStatusBean.preDestroy = true;
      try
      {
         ctx.proceed();
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
      }
   
public voidprePassivate(javax.interceptor.InvocationContext ctx)

      TestStatusBean.prePassivate = true;
      try
      {
         ctx.proceed();
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
      }