Package javax.faces.event
Class PostConstructApplicationEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.event.SystemEvent
-
- javax.faces.event.PostConstructApplicationEvent
-
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.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostConstructApplicationEvent(Application application)
Constructs a newPostConstructApplicationEvent
for this application.PostConstructApplicationEvent(FacesContext facesContext, Application application)
Constructs a newPostConstructApplicationEvent
for this application.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Application
getApplication()
The sourceApplication
that sent this event.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class javax.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
-
-
-
Constructor Detail
-
PostConstructApplicationEvent
public PostConstructApplicationEvent(Application application)
Constructs a new
PostConstructApplicationEvent
for this application.- Parameters:
application
- the application that has been configured- Since:
- 2.0
-
PostConstructApplicationEvent
public PostConstructApplicationEvent(FacesContext facesContext, Application application)
Constructs a new
PostConstructApplicationEvent
for this application.- Parameters:
facesContext
- the Faces context.application
- the application that has been configured- Since:
- 2.0
-
-
Method Detail
-
getApplication
public Application getApplication()
The source
Application
that sent this event.- Returns:
- the application.
- Since:
- 2.0
-
-