Package de.xima.fc.gui.bean
Class KeepSessionAliveBean
java.lang.Object
de.xima.fc.gui.bean.KeepSessionAliveBean
- All Implemented Interfaces:
Serializable
@RequestScoped
@Named("keepSessionAliveBean")
public class KeepSessionAliveBean
extends Object
implements Serializable
Bean that keeps the session alive, for use with the composite component
xi:keepSessionAlivePoll
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
Accesses the session to keep it alive; and also the faces context and view root to keep the view alive.
-
Constructor Details
-
KeepSessionAliveBean
public KeepSessionAliveBean()
-
-
Method Details
-
keepSessionAlive
public void keepSessionAlive()Accesses the session to keep it alive; and also the faces context and view root to keep the view alive. -
getPollInterval
public int getPollInterval()- Returns:
- The poll interval for keeping the session alive, in seconds.
-