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 JavaServer Faces runtime has started it's configuration
process.
source
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
getSource, toString
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.
Copyright © 2019 JBoss by Red Hat. All rights reserved.