Annotation Interface PhaseListener


@Target(METHOD) @Retention(RUNTIME) public @interface PhaseListener
Annotation used to bind listener methods to specific lifecycle events.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines phase events that will trigger the annotated method.
  • Element Details

    • value

      Phase[] value
      Defines phase events that will trigger the annotated method.
      Returns:
      an array of `Phase` values
      Default:
      {}