Package | Description |
---|---|
org.jboss.ejb.client |
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<TransactionID> |
AttachmentKeys.TRANSACTION_ID_KEY
The attachment key for transaction IDs.
|
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 © 2012 JBoss by Red Hat. All Rights Reserved.