|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WindowLifecycleListener
A listener called when the Lifecyle of a Window changes.
Window listeners may be registered automatically by adding a file
containing the names of the classes implementing the WindowLifecycleListener in a file named
org.apache.myfaces.trinidad.event.WindowLifecycleListener
inside of
the META_INF/services
directory or manually by calling
WindowManager.addWindowLifecycleListener
WindowManager
Method Summary | |
---|---|
void |
processWindowLifecylce(javax.faces.context.ExternalContext extContext,
WindowLifecycleEvent event)
Called when the LifecycleState of a Window changes. |
Method Detail |
---|
void processWindowLifecylce(javax.faces.context.ExternalContext extContext, WindowLifecycleEvent event)
Called when the LifecycleState of a Window changes.
The current lifecycle state of a Window is the framework's best guess and may not be accurate.
In particular, the last remaining open window may never move into the CLOSED
state
once it has moved into the UNLOADED
state. In addition, no Window lifecycle events
are delivered if the Session ceases to exist.
The FacesContext may not be available at the time that this event is delivered.
extContext
- ExternalContext available for this eventevent
- WindowLifecycleEvent indicating the cause of the change to the Window's
LifecycleState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |