Package | Description |
---|---|
org.jboss.as.controller.capability.registry |
Modifier and Type | Method and Description |
---|---|
static <T> CapabilityResolutionContext.AttachmentKey<T> |
CapabilityResolutionContext.AttachmentKey.create(Class<? super T> valueClass)
Construct a new simple attachment key.
|
Modifier and Type | Method and Description |
---|---|
<V> V |
CapabilityResolutionContext.attach(CapabilityResolutionContext.AttachmentKey<V> key,
V value)
Attaches an arbitrary object to this context.
|
<V> V |
CapabilityResolutionContext.attachIfAbsent(CapabilityResolutionContext.AttachmentKey<V> key,
V value)
Attaches an arbitrary object to this context only if the object was not already attached.
|
<V> V |
CapabilityResolutionContext.detach(CapabilityResolutionContext.AttachmentKey<V> key)
Detaches or removes the value from this context.
|
<V> V |
CapabilityResolutionContext.getAttachment(CapabilityResolutionContext.AttachmentKey<V> key)
Retrieves an object that has been attached to this context.
|
Copyright © 2023 JBoss by Red Hat. All rights reserved.