JBoss EJB client 2.0.0.Beta4

org.jboss.ejb.client
Class AttachmentKeys

java.lang.Object
  extended by org.jboss.ejb.client.AttachmentKeys

public final class AttachmentKeys
extends Object

Commonly-used attachment keys.

Author:
David M. Lloyd

Field Summary
static AttachmentKey<Boolean> COMPRESS_RESPONSE
          A key to an attachment which specifies whether the response payload data of an EJB invocation should be compressed
static AttachmentKey<Boolean> HINTS_DISABLED
          An attachment key which specifies whether "hints" (like CompressionHint) are disabled
static AttachmentKey<Integer> RESPONSE_COMPRESSION_LEVEL
          A key to an attachment which specifies the "compression level" of the response payload data of an EJB invocation
static AttachmentKey<TransactionID> TRANSACTION_ID_KEY
          The attachment key for transaction IDs.
static AttachmentKey<CompressionHint> VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
          A key to an attachment which contains the CompressionHints specified on the remote view class level
static AttachmentKey<Map<Method,CompressionHint>> VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
          A key to an attachment which contains the CompressionHints for methods which have been annotated with that data
static AttachmentKey<Affinity> WEAK_AFFINITY
          The preferred node or cluster for invocations from this proxy.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSACTION_ID_KEY

public static final AttachmentKey<TransactionID> TRANSACTION_ID_KEY
The attachment key for transaction IDs. This key is normally associated with an invocation.


WEAK_AFFINITY

public static final AttachmentKey<Affinity> WEAK_AFFINITY
The preferred node or cluster for invocations from this proxy. Note that this name is only a recommendation and is not required to be used, and if the node or cluster is not available then the invocation may proceed to another node or cluster. This key is normally associated with a proxy, and copied to an invocation.


HINTS_DISABLED

public static final AttachmentKey<Boolean> HINTS_DISABLED
An attachment key which specifies whether "hints" (like CompressionHint) are disabled


VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY

public static final AttachmentKey<CompressionHint> VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
A key to an attachment which contains the CompressionHints specified on the remote view class level


VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY

public static final AttachmentKey<Map<Method,CompressionHint>> VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
A key to an attachment which contains the CompressionHints for methods which have been annotated with that data


COMPRESS_RESPONSE

public static final AttachmentKey<Boolean> COMPRESS_RESPONSE
A key to an attachment which specifies whether the response payload data of an EJB invocation should be compressed


RESPONSE_COMPRESSION_LEVEL

public static final AttachmentKey<Integer> RESPONSE_COMPRESSION_LEVEL
A key to an attachment which specifies the "compression level" of the response payload data of an EJB invocation


JBoss EJB client 2.0.0.Beta4

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.