RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.ui
Class UserExpiredPhaseListener

java.lang.Object
  extended by org.richfaces.photoalbum.ui.UserExpiredPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

@RequestScoped
public class UserExpiredPhaseListener
extends Object
implements javax.faces.event.PhaseListener

Special PhaseListener for check is the user session was expired or user were login in another browser. By default phaseListener works on PhaseId.RESTORE_VIEW JSF lifecycle phase.

Author:
Andrey Markhel
See Also:
Serialized Form

Constructor Summary
UserExpiredPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent e)
           
 void beforePhase(javax.faces.event.PhaseEvent e)
           
 javax.faces.event.PhaseId getPhaseId()
           
 void setPhase(javax.faces.event.PhaseId phase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserExpiredPhaseListener

public UserExpiredPhaseListener()
Method Detail

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent e)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent e)
Specified by:
afterPhase in interface javax.faces.event.PhaseListener

setPhase

public void setPhase(javax.faces.event.PhaseId phase)

getPhaseId

public javax.faces.event.PhaseId getPhaseId()
Specified by:
getPhaseId in interface javax.faces.event.PhaseListener

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.