Package org.jboss.ejb.client
Class AttachmentKeys
- java.lang.Object
-
- org.jboss.ejb.client.AttachmentKeys
-
public final class AttachmentKeys extends Object
Commonly-used attachment keys.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static AttachmentKey<Boolean>
COMPRESS_RESPONSE
Deprecated.static AttachmentKey<Boolean>
HINTS_DISABLED
Deprecated.static AttachmentKey<Integer>
RESPONSE_COMPRESSION_LEVEL
Deprecated.static AttachmentKey<TransactionID>
TRANSACTION_ID_KEY
Deprecated.static AttachmentKey<jakarta.transaction.Transaction>
TRANSACTION_KEY
The attachment key for transaction propagation.static AttachmentKey<CompressionHint>
VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
Deprecated.static AttachmentKey<Map<Method,CompressionHint>>
VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
Deprecated.static AttachmentKey<Affinity>
WEAK_AFFINITY
The preferred node or cluster for invocations from this proxy.
-
-
-
Field Detail
-
TRANSACTION_KEY
public static final AttachmentKey<jakarta.transaction.Transaction> TRANSACTION_KEY
The attachment key for transaction propagation.
-
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.
-
TRANSACTION_ID_KEY
@Deprecated public static final AttachmentKey<TransactionID> TRANSACTION_ID_KEY
Deprecated.The attachment key for legacy transaction IDs. This key is normally associated with an invocation.
-
HINTS_DISABLED
@Deprecated public static final AttachmentKey<Boolean> 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_KEY
Deprecated.A key to an attachment which contains theCompressionHint
s 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_KEY
Deprecated.A key to an attachment which contains theCompressionHint
s for methods which have been annotated with that data
-
COMPRESS_RESPONSE
@Deprecated public static final AttachmentKey<Boolean> 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 public static final AttachmentKey<Integer> RESPONSE_COMPRESSION_LEVEL
Deprecated.A key to an attachment which specifies the "compression level" of the response payload data of an Enterprise Bean invocation
-
-