Package | Description |
---|---|
org.jboss.ejb.client |
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<Boolean> |
AttachmentKeys.COMPRESS_RESPONSE
A key to an attachment which specifies whether the response payload data of an EJB invocation should be compressed
|
static AttachmentKey<Boolean> |
AttachmentKeys.HINTS_DISABLED
An attachment key which specifies whether "hints" (like
CompressionHint ) are disabled |
static AttachmentKey<Integer> |
AttachmentKeys.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> |
AttachmentKeys.TRANSACTION_ID_KEY
The attachment key for transaction IDs.
|
static AttachmentKey<CompressionHint> |
AttachmentKeys.VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
A key to an attachment which contains the
CompressionHint s specified on the remote view class level |
static AttachmentKey<Map<Method,CompressionHint>> |
AttachmentKeys.VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
A key to an attachment which contains the
CompressionHint s for methods which have been annotated with that data |
static AttachmentKey<Affinity> |
AttachmentKeys.WEAK_AFFINITY
The preferred node or cluster for invocations from this proxy.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Attachable.getAttachment(AttachmentKey<T> key)
Get an attachment from this object.
|
<T> T |
EJBClientInvocationContext.getProxyAttachment(AttachmentKey<T> key)
Get a value attached to the proxy.
|
<T> T |
Attachable.putAttachment(AttachmentKey<T> key,
T value)
Set an attachment on this object.
|
<T> T |
Attachable.putAttachmentIfAbsent(AttachmentKey<T> key,
T value)
Set an attachment on this object if an existing attachment does not already exist.
|
<T> T |
Attachable.removeAttachment(AttachmentKey<T> key)
Remove and return an attachment value.
|
<T> boolean |
Attachable.removeAttachment(AttachmentKey<T> key,
T value)
Remove an attachment if it has a certain value.
|
<T> T |
EJBClientInvocationContext.removeProxyAttachment(AttachmentKey<T> key)
Remove a value attached to the proxy.
|
<T> T |
Attachable.replaceAttachment(AttachmentKey<T> key,
T value)
Replace an attachment on this object if an existing attachment exists.
|
<T> boolean |
Attachable.replaceAttachment(AttachmentKey<T> key,
T oldValue,
T newValue)
Replace an attachment on this object if an existing attachment exists with a certain value.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.