Class AttachmentKeys


  • public final class AttachmentKeys
    extends Object
    Commonly-used attachment keys.
    Author:
    David M. Lloyd
    • 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.
      • 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 the CompressionHints specified on the remote view class level
      • 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