org.apache.myfaces.extensions.validator.core
Class PhaseIdRecordingPhaseListener

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.PhaseIdRecordingPhaseListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener

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

e.g. to allow in metadata extraction interceptors to know if they are invoked during validation or component initialization (if needed) example: client-side validation - some functionality shouldn't be processed during rendering

Since:
x.x.3
Author:
Gerhard Petracek
See Also:
Serialized Form

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

Constructor Detail

PhaseIdRecordingPhaseListener

public PhaseIdRecordingPhaseListener()
Method Detail

afterPhase

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

beforePhase

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

getPhaseId

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.