org.richfaces.photoalbum.ui
Class UserExpiredPhaseListener
java.lang.Object
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
|
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 |
UserExpiredPhaseListener
public UserExpiredPhaseListener()
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
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.