Annotation Type ContextAttribute
Marks a field, method, or the object itself as a context attribute.
Annotated final fields may be fetched eagerly at context creation time. Non
static fields and methods are fetched both lazily and on also on every
attribute access. Annotating the class type will associate this
with the supplied attribute name.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe name with which this attribute should be associated.- Returns:
- the attribute name
-