Package org.terracotta.context
Interface ContextElement
-
- All Known Implementing Classes:
LazyContextElement
public interface ContextElementA shadow context associated with a Java object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>attributes()The set of attributes for the associated Java object.java.lang.Class<?>identifier()The type of the associated Java object.
-
-
-
Method Detail
-
identifier
java.lang.Class<?> identifier()
The type of the associated Java object.- Returns:
- the associated object's class
-
attributes
java.util.Map<java.lang.String,java.lang.Object> attributes()
The set of attributes for the associated Java object.- Returns:
- the associated object's attributes
-
-