Class ContextAttachments
- java.lang.Object
-
- org.jboss.as.controller.transform.ContextAttachments
-
public class ContextAttachments extends Object
Internal class for providing attachments. Although it is in the .transform package, this is more to avoid polluting the parent package.- Author:
- Kabir Khan
-
-
Constructor Summary
Constructors Constructor Description ContextAttachments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> Vattach(OperationContext.AttachmentKey<V> key, V value)<V> VattachIfAbsent(OperationContext.AttachmentKey<V> key, V value)<V> Vdetach(OperationContext.AttachmentKey<V> key)<V> VgetAttachment(OperationContext.AttachmentKey<V> key)
-
-
-
Method Detail
-
getAttachment
public <V> V getAttachment(OperationContext.AttachmentKey<V> key)
-
attach
public <V> V attach(OperationContext.AttachmentKey<V> key, V value)
-
attachIfAbsent
public <V> V attachIfAbsent(OperationContext.AttachmentKey<V> key, V value)
-
detach
public <V> V detach(OperationContext.AttachmentKey<V> key)
-
-