public final class ObjectContextExtractor extends Object
Modifier and Type | Method and Description |
---|---|
static ContextElement |
extract(Object from)
Returns a
ContextElement instance for the supplied object. |
public static ContextElement extract(Object from)
ContextElement
instance for the supplied object.
The supplied object's class type is parsed for ContextAttribute
annotations and the associated attributes are extracted and returned in the
form of a ContextElement
.
from
- object to extract context forContextElement
Copyright © 2018. All rights reserved.