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 ServletContextListener
s which may be invoked
before the Jakarta Server Faces runtime has started it's configuration
process.
Constructor and Description |
---|
PostConstructApplicationEvent(Application application)
Constructs a new
|
PostConstructApplicationEvent(FacesContext facesContext,
Application application)
Constructs a new
|
Modifier and Type | Method and Description |
---|---|
Application |
getApplication()
The source |
getFacesContext, isAppropriateListener, processListener
public PostConstructApplicationEvent(Application application)
Constructs a new
PostConstructApplicationEvent
for this
application.
application
- the application that has been configuredpublic PostConstructApplicationEvent(FacesContext facesContext, Application application)
Constructs a new
PostConstructApplicationEvent
for this
application.
facesContext
- the Faces context.application
- the application that has been configuredpublic Application getApplication()
The source Application
that sent this event.