public interface XAttachmentSupport
Modifier and Type | Method and Description |
---|---|
<T> T |
addAttachment(Class<T> clazz,
T value)
Attach an arbirtary object with this element.
|
<T> T |
getAttachment(Class<T> clazz)
Get the attached object for a given key
|
<T> T |
removeAttachment(Class<T> clazz)
Remove an attached object for a given key
|
<T> T addAttachment(Class<T> clazz, T value)
clazz
- key for the attachment<T> T getAttachment(Class<T> clazz)
clazz
- key for the attachment<T> T removeAttachment(Class<T> clazz)
clazz
- key for the attachmentCopyright © 2013 JBoss by Red Hat. All Rights Reserved.