| Package | Description |
|---|---|
| org.jboss.gravia.resource | |
| org.jboss.gravia.resource.spi |
| Modifier and Type | Method and Description |
|---|---|
static <T> AttachmentKey<T> |
AttachmentKey.create(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Attachable.getAttachment(AttachmentKey<T> key)
Get the attached object for a given key
|
<T> boolean |
Attachable.hasAttachment(AttachmentKey<T> key)
True if there is an attached object for a given key
|
<T> T |
Attachable.putAttachment(AttachmentKey<T> key,
T value)
Attach an arbirtary object with this element.
|
<T> T |
Attachable.removeAttachment(AttachmentKey<T> key)
Remove an attached object for a given key
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AttachableSupport.getAttachment(AttachmentKey<T> key) |
<T> T |
AbstractResource.getAttachment(AttachmentKey<T> key) |
<T> boolean |
AttachableSupport.hasAttachment(AttachmentKey<T> key) |
<T> boolean |
AbstractResource.hasAttachment(AttachmentKey<T> key) |
<T> T |
AttachableSupport.putAttachment(AttachmentKey<T> key,
T value) |
<T> T |
AbstractResource.putAttachment(AttachmentKey<T> key,
T value) |
<T> T |
AttachableSupport.removeAttachment(AttachmentKey<T> key) |
<T> T |
AbstractResource.removeAttachment(AttachmentKey<T> key) |
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.