corelib.services.web.statistics
Class StatisticListener

java.lang.Object
  extended by corelib.services.web.statistics.StatisticListener
All Implemented Interfaces:
WebApplicationListener, WebListener, java.util.EventListener

public class StatisticListener
extends java.lang.Object
implements WebApplicationListener

A web application listener that record new session in the Ellipse Statistics Service.

Since:
0.2.0
Author:
Dominique Liard

Constructor Summary
StatisticListener()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticListener

public StatisticListener()
Method Detail

applicationStarted

public void applicationStarted(WebApplicationEvent event)
Description copied from interface: WebApplicationListener
This method is invoked when the web application starts.

Specified by:
applicationStarted in interface WebApplicationListener
Parameters:
event - Stores data associated tho this event.

applicationEnded

public void applicationEnded(WebApplicationEvent event)
Description copied from interface: WebApplicationListener
This method is invoked when the web application finishes.

Specified by:
applicationEnded in interface WebApplicationListener
Parameters:
event - Stores data associated tho this event.

requestStarted

public void requestStarted(WebApplicationEvent event)
Description copied from interface: WebApplicationListener
This method is invoked when a new HTTP request starts.

Specified by:
requestStarted in interface WebApplicationListener
Parameters:
event - Stores data associated tho this event.

requestTerminated

public void requestTerminated(WebApplicationEvent event)
Description copied from interface: WebApplicationListener
This method is invoked when a new HTTP request ends.

Specified by:
requestTerminated in interface WebApplicationListener
Parameters:
event - Stores data associated tho this event.

sessionCreated

public void sessionCreated(WebApplicationEvent event)
Description copied from interface: WebApplicationListener
This method is invoked when a new HTTP session is created.

Specified by:
sessionCreated in interface WebApplicationListener
Parameters:
event - Stores data associated tho this event.

sessionDestroyed

public void sessionDestroyed(WebApplicationEvent event)
Description copied from interface: WebApplicationListener
This method is invoked when a new HTTP session is destroyed.

Specified by:
sessionDestroyed in interface WebApplicationListener
Parameters:
event - Stores data associated tho this event.


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.