This event must be published by the runtime before the factories associated with this Application
are released.
This event is useful for listeners that need to perform custom shutdown processing without having to rely on
ServletContextListeners which will be invoked after all of the application artifacts have been removed.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | PreDestroyApplicationEvent(Application
the application that has been configured application)
Constructs a new |
| public | PreDestroyApplicationEvent(FacesContext
the Faces context. facesContext, Application the application that has been configured application)
Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public Application |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| PreDestroyApplicationEvent | back to summary |
|---|---|
| public PreDestroyApplicationEvent(Application application)
Constructs a new
| |
| PreDestroyApplicationEvent | back to summary |
|---|---|
| public PreDestroyApplicationEvent(FacesContext facesContext, Application application)
Constructs a new
| |
| getApplication | back to summary |
|---|---|
| public Application getApplication()
The source
| |