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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the BeforeDestroyed qualifier.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Annotation>
    The scope for which to observe destruction
  • Element Details

    • value

      Class<? extends Annotation> value
      The scope for which to observe destruction
      Returns:
      the scope type class