javax.faces.event
Class ApplicationPreDestroyEvent
java.lang.Object
java.util.EventObject
javax.faces.event.SystemEvent
javax.faces.event.ApplicationPreDestroyEvent
- All Implemented Interfaces:
- Serializable
public class ApplicationPreDestroyEvent
- extends SystemEvent
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
ServletContextListener
s which will be invoked after all
of the application artifacts have been removed.
- Since:
- 2.0
- See Also:
- Serialized Form
ApplicationPreDestroyEvent
public ApplicationPreDestroyEvent(Application application)
Constructs a new
ApplicationPreDestroyEvent
for this application.
- Parameters:
application
- the application that has been configured- Since:
- 2.0
getApplication
public Application getApplication()
The source Application
that sent this event.
- Since:
- 2.0
Copyright © 2002-2008 Sun Microsystems, Inc. All Rights Reserved.