public interface WindowLifecycleListener extends EventListener
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| Modifier and Type | Method and Description | 
|---|---|
| void | processWindowLifecylce(javax.faces.context.ExternalContext extContext,
                      WindowLifecycleEvent event)
 Called when the LifecycleState of a Window changes. | 
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
 LifecycleStateCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.