corelib.services.web.webapplications.events
Interface WebApplicationListener

All Superinterfaces:
java.util.EventListener, WebListener
All Known Implementing Classes:
StatisticListener, WebApplicationAdapter

public interface WebApplicationListener
extends WebListener

This interface defines methods that are invoked during the web application life cycle.

Since:
0.2.0
Author:
Infini Software : Alexia Ramaļoli & Dominique Liard

Method Summary
 void applicationEnded(WebApplicationEvent event)
          This method is invoked when the web application finishes.
 void applicationStarted(WebApplicationEvent event)
          This method is invoked when the web application starts.
 void requestStarted(WebApplicationEvent event)
          This method is invoked when a new HTTP request starts.
 void requestTerminated(WebApplicationEvent event)
          This method is invoked when a new HTTP request ends.
 void sessionCreated(WebApplicationEvent event)
          This method is invoked when a new HTTP session is created.
 void sessionDestroyed(WebApplicationEvent event)
          This method is invoked when a new HTTP session is destroyed.
 

Method Detail

applicationStarted

void applicationStarted(WebApplicationEvent event)
This method is invoked when the web application starts.

Parameters:
event - Stores data associated tho this event.
Since:
0.2.0

applicationEnded

void applicationEnded(WebApplicationEvent event)
This method is invoked when the web application finishes.

Parameters:
event - Stores data associated tho this event.
Since:
0.3.1

sessionCreated

void sessionCreated(WebApplicationEvent event)
This method is invoked when a new HTTP session is created.

Parameters:
event - Stores data associated tho this event.
Since:
0.2.0

sessionDestroyed

void sessionDestroyed(WebApplicationEvent event)
This method is invoked when a new HTTP session is destroyed.

Parameters:
event - Stores data associated tho this event.
Since:
0.2.0

requestStarted

void requestStarted(WebApplicationEvent event)
This method is invoked when a new HTTP request starts.

Parameters:
event - Stores data associated tho this event.
Since:
0.2.0

requestTerminated

void requestTerminated(WebApplicationEvent event)
This method is invoked when a new HTTP request ends.

Parameters:
event - Stores data associated tho this event.
Since:
0.2.0


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.