org.jboss.jsfunit.framework
Class JSFTimerPhaseListener

java.lang.Object
  extended by org.jboss.jsfunit.framework.JSFTimerPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

public class JSFTimerPhaseListener
extends Object
implements javax.faces.event.PhaseListener

This PhaseListener provides time stamps for each phase of the JSF lifecycle. To use this class, you must enable it in faces-config.xml.

Since:
1.0
Author:
Stan Silvert
See Also:
JSFTimer, Serialized Form

Constructor Summary
JSFTimerPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
           
 void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
           
 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

JSFTimerPhaseListener

public JSFTimerPhaseListener()
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 phaseEvent)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

afterPhase

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


Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.