Class TransformerOperationAttachment
- java.lang.Object
-
- org.jboss.as.controller.transform.TransformerOperationAttachment
-
public class TransformerOperationAttachment extends Object
If this attachment is attached to an OperationContext, its internal attachments get propagated to the transformers.- Author:
- Kabir Khan
-
-
Field Summary
Fields Modifier and Type Field Description static OperationContext.AttachmentKey<TransformerOperationAttachment>
KEY
-
Constructor Summary
Constructors Constructor Description TransformerOperationAttachment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> V
attach(OperationContext.AttachmentKey<V> key, V value)
<V> V
attachIfAbsent(OperationContext.AttachmentKey<V> key, V value)
<V> V
detach(OperationContext.AttachmentKey<V> key)
<V> V
getAttachment(OperationContext.AttachmentKey<V> key)
static TransformerOperationAttachment
getOrCreate(OperationContext context)
-
-
-
Field Detail
-
KEY
public static OperationContext.AttachmentKey<TransformerOperationAttachment> KEY
-
-
Method Detail
-
getOrCreate
public static TransformerOperationAttachment getOrCreate(OperationContext context)
-
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)
-
getAttachment
public <V> V getAttachment(OperationContext.AttachmentKey<V> key)
-
-