Package org.terracotta.context.extractor
Class LazyContextElement
java.lang.Object
org.terracotta.context.extractor.LazyContextElement
- All Implemented Interfaces:
ContextElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<? extends String,AttributeGetter<Object>> private final Class<?> -
Constructor Summary
ConstructorsConstructorDescriptionLazyContextElement(Class<?> identifier, Map<? extends String, AttributeGetter<Object>> attributes) -
Method Summary
-
Field Details
-
identifier
-
attributes
-
-
Constructor Details
-
LazyContextElement
public LazyContextElement(Class<?> identifier, Map<? extends String, AttributeGetter<Object>> attributes)
-
-
Method Details
-
identifier
Description copied from interface:ContextElementThe type of the associated Java object.- Specified by:
identifierin interfaceContextElement- Returns:
- the associated object's class
-
attributes
Description copied from interface:ContextElementThe set of attributes for the associated Java object.- Specified by:
attributesin interfaceContextElement- Returns:
- the associated object's attributes
-
toString
-