Package jakarta.faces.event
Class PostConstructApplicationEvent
- java.lang.Object
- 
- java.util.EventObject
- 
- jakarta.faces.event.SystemEvent
- 
- jakarta.faces.event.PostConstructApplicationEvent
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PostConstructApplicationEvent extends SystemEvent 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
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class java.util.EventObjectsource
 
- 
 - 
Constructor SummaryConstructors Constructor Description PostConstructApplicationEvent(Application application)Constructs a newPostConstructApplicationEventfor this application.PostConstructApplicationEvent(FacesContext facesContext, Application application)Constructs a newPostConstructApplicationEventfor this application.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationgetApplication()The sourceApplicationthat sent this event.- 
Methods inherited from class jakarta.faces.event.SystemEventgetFacesContext, isAppropriateListener, processListener
 - 
Methods inherited from class java.util.EventObjectgetSource, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
PostConstructApplicationEventpublic PostConstructApplicationEvent(Application application) Constructs a new PostConstructApplicationEventfor this application.- Parameters:
- application- the application that has been configured
- Since:
- 2.0
 
 - 
PostConstructApplicationEventpublic PostConstructApplicationEvent(FacesContext facesContext, Application application) Constructs a new PostConstructApplicationEventfor this application.- Parameters:
- facesContext- the Faces context.
- application- the application that has been configured
- Since:
- 2.0
 
 
- 
 - 
Method Detail- 
getApplicationpublic Application getApplication() The source Applicationthat sent this event.- Returns:
- the application.
- Since:
- 2.0
 
 
- 
 
-