Package | Description |
---|---|
org.jboss.osgi.spi |
Common classes and interfaces.
|
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> type)
Get the attached object for a given key
|
<T> T |
AttachableSupport.getAttachment(AttachmentKey<T> clazz) |
<T> T |
Attachable.putAttachment(AttachmentKey<T> key,
T value)
Attach an arbirtary object with this element.
|
<T> T |
AttachableSupport.putAttachment(AttachmentKey<T> clazz,
T value) |
<T> T |
Attachable.removeAttachment(AttachmentKey<T> clazz)
Remove an attached object for a given key
|
<T> T |
AttachableSupport.removeAttachment(AttachmentKey<T> clazz) |
Copyright © 2013 JBoss by Red Hat. All rights reserved.