|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleListener
| Method Summary | |
|---|---|
void |
afterInitialize()
|
void |
afterRender()
|
void |
afterUpdate()
|
void |
beforeInitialize()
|
void |
beforeRender()
|
boolean |
beforeUpdate()
This method is useful in two ways. |
void |
onException(Exception e)
|
| Method Detail |
|---|
void beforeInitialize()
void afterInitialize()
boolean beforeUpdate()
This method is useful in two ways. First it can be used to initialize possible database connections etc.
By default this method should return true, but it can be used to
cancel the client update request by returning false. This can be used
for instance to restrict client from making requests after credentials have been
expired.
In case of false (and also when true) this method can be used to
call methods on components and create updates.
Note that even if false is returned the flow will continue. Only the
client update request is bypassed.
true if client update can continue, false otherwisevoid afterUpdate()
void onException(Exception e)
void beforeRender()
void afterRender()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||