Class 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:
    Serialized Form
    • Constructor Detail

      • KeepSessionAliveBean

        public KeepSessionAliveBean()
    • Method Detail

      • 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.