javax.faces.event
public class: PhaseEvent [javadoc |
source]
java.lang.Object
java.util.EventObject
javax.faces.event.PhaseEvent
All Implemented Interfaces:
Serializable
PhaseEvent represents the beginning or ending of
processing for a particular phase of the request processing lifecycle,
for the request encapsulated by the specified FacesContext .
Constructor: |
public PhaseEvent(FacesContext context,
PhaseId phaseId,
Lifecycle lifecycle) {
super(lifecycle);
if ( phaseId == null || context == null || lifecycle == null) {
throw new NullPointerException();
}
this.phaseId = phaseId;
this.context = context;
}
Construct a new event object from the specified parameters.
The specified Lifecycle will be the source of this event.
Parameters:
context - FacesContext for the current request
phaseId - Identifier of the current request processing
lifecycle phase
lifecycle - Lifecycle instance
Throws:
NullPointerException - if context or
phaseId or Lifecycle is null
|
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |