FileDocCategorySizeDatePackage
ENCPropagationInterceptor.javaAPI DocJBoss 4.2.11770Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3

ENCPropagationInterceptor

public class ENCPropagationInterceptor extends Object implements org.jboss.aop.advice.Interceptor
This interceptor is needed so that the ENC is propagated in asynchronous calls.
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetName()

      return this.getClass().getName();
   
public java.lang.Objectinvoke(org.jboss.aop.joinpoint.Invocation invocation)

      EJBContainer container = (EJBContainer) invocation.getAdvisor();
      try
      {
         container.pushEnc();
         return invocation.invokeNext();
      }
      finally
      {
         container.popEnc();
      }