Package | Description |
---|---|
org.jboss.ejb.client |
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<Boolean> |
AttachmentKeys.COMPRESS_RESPONSE
Deprecated.
|
static AttachmentKey<Boolean> |
AttachmentKeys.HINTS_DISABLED
Deprecated.
|
static AttachmentKey<Integer> |
AttachmentKeys.RESPONSE_COMPRESSION_LEVEL
Deprecated.
|
static AttachmentKey<TransactionID> |
AttachmentKeys.TRANSACTION_ID_KEY
Deprecated.
|
static AttachmentKey<Transaction> |
AttachmentKeys.TRANSACTION_KEY
The attachment key for transaction propagation.
|
static AttachmentKey<CompressionHint> |
AttachmentKeys.VIEW_CLASS_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
Deprecated.
|
static AttachmentKey<Map<Method,CompressionHint>> |
AttachmentKeys.VIEW_METHOD_DATA_COMPRESSION_HINT_ATTACHMENT_KEY
Deprecated.
|
static AttachmentKey<Affinity> |
AttachmentKeys.WEAK_AFFINITY
The preferred node or cluster for invocations from this proxy.
|
Modifier and Type | Method and Description |
---|---|
Map<AttachmentKey<?>,?> |
Attachable.getAttachments()
Returns the attachments applicable for this
Attachable . |
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.
|
static <T> T |
EJBClient.getProxyAttachment(Object proxy,
AttachmentKey<T> attachmentKey)
Get a proxy attachment.
|
<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.
|
static <T> T |
EJBClient.putProxyAttachment(Object proxy,
AttachmentKey<T> attachmentKey,
T newValue)
Set a proxy attachment.
|
static <T> T |
EJBClient.putProxyAttachmentIfAbsent(Object proxy,
AttachmentKey<T> attachmentKey,
T newValue)
Set a proxy attachment if it is not already set.
|
<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.
|
static <T> T |
EJBClient.removeProxyAttachment(Object proxy,
AttachmentKey<T> attachmentKey)
Remove a proxy attachment.
|
static <T> boolean |
EJBClient.removeProxyAttachment(Object proxy,
AttachmentKey<T> attachmentKey,
T oldValue)
Remove a proxy attachment with a particular value.
|
<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.
|
static <T> T |
EJBClient.replaceProxyAttachment(Object proxy,
AttachmentKey<T> attachmentKey,
T newValue)
Replace a proxy attachment if it is already present.
|
static <T> boolean |
EJBClient.replaceProxyAttachment(Object proxy,
AttachmentKey<T> attachmentKey,
T oldValue,
T newValue)
Replace a proxy attachment if it is already present.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.