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
META_INF/services directory or manually by calling
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
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 event
event- WindowLifecycleEvent indicating the cause of the change to the Window's LifecycleState
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.