Package org.zkoss.bind

## Interface PhaseListener

- All Known Implementing Classes:
    `ClientBinderPhaseListener`, `ZutiPhaseListener`

      public interface PhaseListener

  A call back listener that allow user to intervene the execution life cycle.
  Since 6.5.2 - You could set phase listener by setting library-property `org.zkoss.bind.PhaseListener.class` for example:

      <library-property>
      	<name>org.zkoss.bind.PhaseListener.class</name>
      	<value>foo.BarListener</value>
      </library-property>

  Note: the listener instance is shared between all binders, it is not thread-safe, your implementation has to care the concurrent access issue.
  Since:
    6.0.0
  Author:
    henrichen, dennischen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `postPhase​(Phase phase, BindContext ctx)` | Callbacks after each phase.
    `void` | `prePhase​(Phase phase, BindContext ctx)` | Callbacks before each phase.

- - ### Method Detail

    - #### prePhase

          void prePhase​(Phase phase,
                        BindContext ctx)

      Callbacks before each phase.
      Parameters:
        `phase` - the phase id
        `ctx` - the associated `BindContext`

    - #### postPhase

          void postPhase​(Phase phase,
                         BindContext ctx)

      Callbacks after each phase.
      Parameters:
        `phase` - the phase id
        `ctx` - the associated `BindContext`