Top Description Fields Constructors Methods
jakarta.faces.event

public Class PostConstructApplicationEvent

extends SystemEvent
Class Inheritance
Imports
jakarta.faces.application.Application, jakarta.faces.context.FacesContext

This event must be published by the runtime after all configuration resources have been parsed and processed.

This event is useful for listeners that need to perform custom post-configuration processing without having to rely on ServletContextListeners which may be invoked before the Jakarta Faces runtime has started it's configuration process.

Since
2.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PostConstructApplicationEvent(Application
the application that has been configured
application
)

Constructs a new PostConstructApplicationEvent for this application.

public
PostConstructApplicationEvent(FacesContext
the Faces context.
facesContext
,
Application
the application that has been configured
application
)

Constructs a new PostConstructApplicationEvent for this application.

Method Summary

Modifier and TypeMethod and Description
public Application

Returns:

the application.
getApplication
()

The source Application that sent this event.

Inherited from jakarta.faces.event.SystemEvent:
getFacesContextisAppropriateListenerprocessListener

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.faces.event.SystemEvent.serialVersionUID.

Constructor Detail

PostConstructApplicationEventback to summary
public PostConstructApplicationEvent(Application application)

Constructs a new PostConstructApplicationEvent for this application.

Parameters
application:Application

the application that has been configured

Since
2.0
PostConstructApplicationEventback to summary
public PostConstructApplicationEvent(FacesContext facesContext, Application application)

Constructs a new PostConstructApplicationEvent for this application.

Parameters
facesContext:FacesContext

the Faces context.

application:Application

the application that has been configured

Since
2.0

Method Detail

getApplicationback to summary
public Application getApplication()

The source Application that sent this event.

Returns:Application

the application.

Since
2.0