Class PostConstructViewMapEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.ComponentSystemEvent
jakarta.faces.event.PostConstructViewMapEvent
- All Implemented Interfaces:
Serializable
This event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is
first created. This must happen on the first time a call is made to UIViewRoot.getViewMap() on a
UIViewRoot instance. The source for this event is the UIViewRoot.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a newPostConstructViewMapEventthat indicates the argumentrootwas just associated with its view map.PostConstructViewMapEvent(FacesContext facesContext, UIViewRoot root) Instantiate a newPostConstructViewMapEventthat indicates the argumentrootwas just associated with its view map. -
Method Summary
Methods inherited from class ComponentSystemEvent
getComponent, isAppropriateListener, processListenerModifier and TypeMethodDescriptionthe sourceUIComponentthat sent this event.booleanisAppropriateListener(FacesListener listener) Returntrueif the argumentFacesListeneris an instance of the appropriate listener class that this event supports.voidprocessListener(FacesListener listener) Broadcast this event instance to the specifiedFacesListenerby calling the superclass'sprocessListener()implementation.Methods inherited from class SystemEvent
getFacesContextMethods inherited from class EventObject
getSource, toString
-
Constructor Details
-
PostConstructViewMapEvent
Instantiate a new
PostConstructViewMapEventthat indicates the argumentrootwas just associated with its view map.- Parameters:
root- theUIViewRootfor which a view map has just been created.- Throws:
IllegalArgumentException- if the argument isnull.
-
PostConstructViewMapEvent
Instantiate a new
PostConstructViewMapEventthat indicates the argumentrootwas just associated with its view map.- Parameters:
facesContext- the Faces context.root- theUIViewRootfor which a view map has just been created.- Throws:
IllegalArgumentException- if the argument isnull.
-