ClientInterceptorUtilpublic class ClientInterceptorUtil extends Object Utility class for placing the client interceptor data under a given metadata tag |
Fields Summary |
---|
public static final String | CLIENT_METADATA |
Methods Summary |
---|
public static void | addMetadata(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 void | addMetadata(org.jboss.aop.joinpoint.Invocation invocation, java.lang.Object key, java.lang.Object value)
invocation.getMetaData().addMetaData(CLIENT_METADATA, key, value);
| static java.util.Map | getClientMetadataMap(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.Object | getMetadata(org.jboss.aop.joinpoint.Invocation invocation, java.lang.Object key)
return invocation.getMetaData().getMetaData(CLIENT_METADATA, key);
|
|