Top Description Fields Constructors Methods
javax.faces.event

public Class PreDestroyApplicationEvent

extends SystemEvent
Class Inheritance
Imports
javax.faces.application.Application, javax.faces.context.FacesContext

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.

Since
2.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PreDestroyApplicationEvent(Application
the application that has been configured
application
)

Constructs a new PreDestroyApplicationEvent for this application.

public
PreDestroyApplicationEvent(FacesContext
the Faces context.
facesContext
,
Application
the application that has been configured
application
)

Constructs a new PreDestroyApplicationEvent for this application.

Method Summary

Modifier and TypeMethod and Description
public Application

Returns:

the application.
getApplication
()

The source Application that sent this event.

Inherited from javax.faces.event.SystemEvent:
getFacesContextisAppropriateListenerprocessListener

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.faces.event.SystemEvent.serialVersionUID.

Constructor Detail

PreDestroyApplicationEventback to summary
public PreDestroyApplicationEvent(Application application)

Constructs a new PreDestroyApplicationEvent for this application.

Parameters
application:Application

the application that has been configured

Since
2.0
PreDestroyApplicationEventback to summary
public PreDestroyApplicationEvent(FacesContext facesContext, Application application)

Constructs a new PreDestroyApplicationEvent for this application.

Parameters
facesContext:FacesContext

the Faces context.

application:Application

the application that has been configured

Since
2.0

Method Detail

getApplicationback to summary
public Application getApplication()

The source Application that sent this event.

Returns:Application

the application.

Since
2.0