com.ibm.websphere.servlet.event
Interface ApplicationListener

All Superinterfaces:
java.util.EventListener

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

public 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

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

onApplicationAvailableForService

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

onApplicationUnavailableForService

public 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.