Package org.jboss.ejb.client
Class AttachmentKeys
java.lang.Object
org.jboss.ejb.client.AttachmentKeys
Commonly-used attachment keys.
- Author:
- David M. Lloyd
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttachmentKey<Boolean>Deprecated.static final AttachmentKey<Boolean>Deprecated.static final AttachmentKey<Integer>Deprecated.static final AttachmentKey<TransactionID>Deprecated.static final AttachmentKey<Transaction>The attachment key for transaction propagation.static final AttachmentKey<CompressionHint>Deprecated.static final AttachmentKey<Map<Method,CompressionHint>> Deprecated.static final AttachmentKey<Affinity>The preferred node or cluster for invocations from this proxy. -
Method Summary
-
Field Details
-
TRANSACTION_KEY
The attachment key for transaction propagation. -
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. -
TRANSACTION_ID_KEY
Deprecated.The attachment key for legacy transaction IDs. This key is normally associated with an invocation. -
HINTS_DISABLED
Deprecated.An attachment key which specifies whether "hints" (likeCompressionHint) are disabled -
VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
@Deprecated public static final AttachmentKey<CompressionHint> VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEYDeprecated.A key to an attachment which contains theCompressionHints specified on the remote view class level -
VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
@Deprecated public static final AttachmentKey<Map<Method,CompressionHint>> VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEYDeprecated.A key to an attachment which contains theCompressionHints for methods which have been annotated with that data -
COMPRESS_RESPONSE
Deprecated.A key to an attachment which specifies whether the response payload data of an Enterprise Bean invocation should be compressed -
RESPONSE_COMPRESSION_LEVEL
Deprecated.A key to an attachment which specifies the "compression level" of the response payload data of an Enterprise Bean invocation
-