edu.uoc.tcfj2ee_gatd.controlador.usuaris
Class HistorialPhaseListener

java.lang.Object
  extended by edu.uoc.tcfj2ee_gatd.controlador.usuaris.HistorialPhaseListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener

public class HistorialPhaseListener
extends java.lang.Object
implements javax.faces.event.PhaseListener

Listener del cicle de vida JSF, que manté l'historial de les pàgines visitades

Codi creat a partir d'un exemple del llibre "Beginning JSF™ 2 APIs and JBoss® Seam" de Kent Ka Iok Tong. Ed. Apress, maig 2009.

Author:
Jordi Tejero, Kent Ka Iok Tong
See Also:
Serialized Form

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

Constructor Detail

HistorialPhaseListener

public HistorialPhaseListener()
Method Detail

getPhaseId

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

beforePhase

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

afterPhase

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