public interface Attachable
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttachment(AttachmentKey<T> type)
Get the attached object for a given key
|
<T> T |
putAttachment(AttachmentKey<T> key,
T value)
Attach an arbirtary object with this element.
|
<T> T |
removeAttachment(AttachmentKey<T> clazz)
Remove an attached object for a given key
|
<T> T putAttachment(AttachmentKey<T> key, T value)
key - key for the attachment<T> T getAttachment(AttachmentKey<T> type)
type - key for the attachment<T> T removeAttachment(AttachmentKey<T> clazz)
clazz - key for the attachmentCopyright © 2016 JBoss by Red Hat. All rights reserved.