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