IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.servlet.event
Interface ApplicationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
BufferManager

public interface ApplicationListener
extends java.util.EventListener

Event listener interface used for notifications about the application.


Method Summary
 void onApplicationAvailableForService(ApplicationEvent evt)
          Triggered when the application is activated to receive external requests.
 void onApplicationEnd(ApplicationEvent evt)
          Final application event that occurs before the application is terminated by the server process.
 void onApplicationStart(ApplicationEvent evt)
          Triggered when the application is started.
 void onApplicationUnavailableForService(ApplicationEvent evt)
          Triggered when the application is taken offline.
 

Method Detail

onApplicationStart

void onApplicationStart(ApplicationEvent evt)
Triggered when the application is started. This event is triggered before any object initializations occur within the application (including auto-start servlet initialization). This method is the perfect place for applications to register for other events and to setup the application before any other objects are created by the application.


onApplicationEnd

void onApplicationEnd(ApplicationEvent evt)
Final application event that occurs before the application is terminated by the server process.


onApplicationAvailableForService

void onApplicationAvailableForService(ApplicationEvent evt)
Triggered when the application is activated to receive external requests.


onApplicationUnavailableForService

void onApplicationUnavailableForService(ApplicationEvent evt)
Triggered when the application is taken offline. When an application is taken offline, all requests to the application will be denied.


IBM WebSphere Application ServerTM
Release 7