Package jakarta.enterprise.context
Annotation Interface BeforeDestroyed
@Qualifier
@Target({TYPE,METHOD,PARAMETER,FIELD})
@Retention(RUNTIME)
@Documented
public @interface BeforeDestroyed
An event with this qualifier is fired when a context is about to be destroyed, i.e. before the actual destruction.
- Since:
- 2.0
- Author:
- Pete Muir, Martin Kouba
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Supports inline instantiation of theBeforeDestroyed
qualifier. -
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass
<? extends Annotation> The scope for which to observe destruction
-
Element Details
-
value
Class<? extends Annotation> valueThe scope for which to observe destruction- Returns:
- the scope type class
-