Top Description Fields Constructors Methods
jakarta.faces.event

public Class PostConstructViewMapEvent

extends ComponentSystemEvent
Class Inheritance
Imports
jakarta.faces.component.UIViewRoot, jakarta.faces.context.FacesContext

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

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PostConstructViewMapEvent(UIViewRoot
the UIViewRoot for which a view map has just been created.
root
)

Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.

public
PostConstructViewMapEvent(FacesContext
the Faces context.
facesContext
,
UIViewRoot
the UIViewRoot for which a view map has just been created.
root
)

Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.

Method Summary

Inherited from jakarta.faces.event.ComponentSystemEvent:
getComponentisAppropriateListenerprocessListener

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.faces.event.ComponentSystemEvent.serialVersionUID.

Constructor Detail

PostConstructViewMapEventback to summary
public PostConstructViewMapEvent(UIViewRoot root)

Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.

Parameters
root:UIViewRoot

the UIViewRoot for which a view map has just been created.

Exceptions
IllegalArgumentException:
if the argument is null.
PostConstructViewMapEventback to summary
public PostConstructViewMapEvent(FacesContext facesContext, UIViewRoot root)

Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.

Parameters
facesContext:FacesContext

the Faces context.

root:UIViewRoot

the UIViewRoot for which a view map has just been created.

Exceptions
IllegalArgumentException:
if the argument is null.