FileDocCategorySizeDatePackage
CustomInterceptor.javaAPI DocJBoss 4.2.11858Fri Jul 13 20:53:10 BST 2007org.jboss.ejb3.test.clientinterceptor

CustomInterceptor

public class CustomInterceptor extends Object implements Serializable, org.jboss.aop.advice.Interceptor
author
Kabir Khan
version
$Revision: 60233 $

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

      return "CustomInterceptor";
   
public java.lang.Objectinvoke(org.jboss.aop.joinpoint.Invocation invocation)

      ClientInterceptorUtil.addMetadata(invocation, "as_is", "AS_IS", PayloadKey.AS_IS);
      ClientInterceptorUtil.addMetadata(invocation, "marshalled", new NeedsMarshallingValue("NEEDS MARSHALLING"));
      
      return invocation.invokeNext();