com.ibm.websphere.servlet.event

Interface ApplicationListener

All Superinterfaces:
java.util.EventListener
All known implementing classes:
BufferManager

  1. public interface ApplicationListener
  2. extends java.util.EventListener
Event listener interface used for notifications about the application.

Method Summary

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

Method Detail

onApplicationStart

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

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

onApplicationAvailableForService

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

onApplicationUnavailableForService

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