T
- the attachment value typepublic static final class OperationContext.AttachmentKey<T> extends Object
public T cast(Object value)
value
- the valuepublic static <T> OperationContext.AttachmentKey<T> create(Class<? super T> valueClass)
T
- the attachment typevalueClass
- the value classCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.