FileDocCategorySizeDatePackage
ClientInterceptorUtil.javaAPI DocJBoss 4.2.15202Fri Jul 13 20:53:52 BST 2007org.jboss.ejb3.interceptor

ClientInterceptorUtil

public class ClientInterceptorUtil extends Object
Utility class for placing the client interceptor data under a given metadata tag
author
Kabir Khan
version
$Revision: 60233 $

Fields Summary
public static final String
CLIENT_METADATA
Constructors Summary
Methods Summary
public static voidaddMetadata(org.jboss.aop.joinpoint.Invocation invocation, java.lang.Object key, java.lang.Object value, org.jboss.aop.util.PayloadKey payload)

   
             
   
      invocation.getMetaData().addMetaData(CLIENT_METADATA, key, value, payload);
   
public static voidaddMetadata(org.jboss.aop.joinpoint.Invocation invocation, java.lang.Object key, java.lang.Object value)

      invocation.getMetaData().addMetaData(CLIENT_METADATA, key, value);
   
static java.util.MapgetClientMetadataMap(org.jboss.aop.joinpoint.Invocation invocation)

      Map map =  invocation.getMetaData().tag(CLIENT_METADATA);
      if (map != null)
      {
         return new ClientValueMap(map);
      }
      return null;
   
public static java.lang.ObjectgetMetadata(org.jboss.aop.joinpoint.Invocation invocation, java.lang.Object key)

      return invocation.getMetaData().getMetaData(CLIENT_METADATA, key);