Package jakarta.faces.event
Class PostConstructViewMapEvent
- java.lang.Object
- 
- java.util.EventObject
- 
- jakarta.faces.event.SystemEvent
- 
- jakarta.faces.event.ComponentSystemEvent
- 
- jakarta.faces.event.PostConstructViewMapEvent
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PostConstructViewMapEvent extends ComponentSystemEvent 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 aUIViewRootinstance. The source for this event is theUIViewRoot.- Since:
- 2.0
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class java.util.EventObjectsource
 
- 
 - 
Constructor SummaryConstructors Constructor Description PostConstructViewMapEvent(UIViewRoot root)Instantiate 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 jakarta.faces.event.ComponentSystemEventgetComponent, isAppropriateListener, processListener
 - 
Methods inherited from class jakarta.faces.event.SystemEventgetFacesContext
 - 
Methods inherited from class java.util.EventObjectgetSource, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
PostConstructViewMapEventpublic PostConstructViewMapEvent(UIViewRoot root) Instantiate a new PostConstructViewMapEventthat indicates the argumentrootwas just associated with its view map.- Parameters:
- root- the- UIViewRootfor which a view map has just been created.
- Throws:
- IllegalArgumentException- if the argument is- null.
 
 - 
PostConstructViewMapEventpublic PostConstructViewMapEvent(FacesContext facesContext, UIViewRoot root) Instantiate a new PostConstructViewMapEventthat indicates the argumentrootwas just associated with its view map.- Parameters:
- facesContext- the Faces context.
- root- the- UIViewRootfor which a view map has just been created.
- Throws:
- IllegalArgumentException- if the argument is- null.
 
 
- 
 
-