|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
void |
postPhase(Phase phase,
BindContext ctx)
Callbacks after each phase. |
void |
prePhase(Phase phase,
BindContext ctx)
Callbacks before each phase. |
| Method Detail |
|---|
void prePhase(Phase phase,
BindContext ctx)
phase - the phase idctx - the associated BindContext
void postPhase(Phase phase,
BindContext ctx)
phase - the phase idctx - the associated BindContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||