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 Details

    • TRANSACTION_KEY

      public static final AttachmentKey<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" (like CompressionHint) 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 the CompressionHints 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 the CompressionHints 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