Class ContextAttachments
java.lang.Object
org.jboss.as.controller.transform.ContextAttachments
- All Implemented Interfaces:
AutoCloseable
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 -
Method Summary
Modifier and TypeMethodDescription<V> Vattach(OperationContext.AttachmentKey<V> key, V value) <V> VattachIfAbsent(OperationContext.AttachmentKey<V> key, V value) voidclose()<V> Vdetach(OperationContext.AttachmentKey<V> key) <V> V
-
Constructor Details
-
ContextAttachments
public ContextAttachments()
-
-
Method Details
-
getAttachment
-
attach
-
attachIfAbsent
-
detach
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-