| Package | Description |
|---|---|
| org.jboss.osgi.resolver | |
| org.jboss.osgi.resolver.spi |
| Modifier and Type | Field and Description |
|---|---|
static XAttachmentKey<Long> |
XResource.RESOURCE_IDENTIFIER_KEY
The id attachment key
|
| Modifier and Type | Method and Description |
|---|---|
static <T> XAttachmentKey<T> |
XAttachmentKey.create(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
XAttachmentSupport.addAttachment(XAttachmentKey<T> key,
T value)
Attach an arbirtary object with this element.
|
<T> T |
XAttachmentSupport.getAttachment(XAttachmentKey<T> type)
Get the attached object for a given key
|
<T> T |
XAttachmentSupport.removeAttachment(XAttachmentKey<T> clazz)
Remove an attached object for a given key
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AttachmentSupporter.addAttachment(XAttachmentKey<T> clazz,
T value) |
<T> T |
AbstractElement.addAttachment(XAttachmentKey<T> key,
T value) |
<T> T |
AttachmentSupporter.getAttachment(XAttachmentKey<T> clazz) |
<T> T |
AbstractElement.getAttachment(XAttachmentKey<T> key) |
<T> T |
AttachmentSupporter.removeAttachment(XAttachmentKey<T> clazz) |
<T> T |
AbstractElement.removeAttachment(XAttachmentKey<T> key) |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.