Package jakarta.enterprise.context
Annotation Interface Eager
Marks the annotated bean as eagerly initialized. May be applied to a bean class,
producer method or field or stereotype.
Only @ApplicationScoped beans may be eagerly initialized.
A contextual instance of an eagerly initialized bean is created no later than at the moment
the container fires the Startup event.
- Since:
- 5.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSupports inline instantiation of theEagerannotation.