Class CapabilityResolutionContext.AttachmentKey<T>
java.lang.Object
org.jboss.as.controller.capability.registry.CapabilityResolutionContext.AttachmentKey<T>
- Type Parameters:
T- the attachment value type
- Enclosing class:
- CapabilityResolutionContext
An attachment key instance.
-
Method Summary
-
Method Details
-
cast
Cast the value to the type of this attachment key.- Parameters:
value- the value- Returns:
- the cast value
-
create
Construct a new simple attachment key.- Type Parameters:
T- the attachment type- Parameters:
valueClass- the value class- Returns:
- the new instance
-