Compiere 3.1

org.compiere.cm.utils
Class Counter

java.lang.Object
  extended by org.compiere.cm.utils.Counter
All Implemented Interfaces:
EventListener, HttpSessionListener

public class Counter
extends Object
implements HttpSessionListener

Version:
$Id$
Author:
YS

Constructor Summary
Counter()
           
 
Method Summary
static int getActiveSessions()
          Get Active Sessions
 void sessionCreated(HttpSessionEvent se)
          SessionCreated
 void sessionDestroyed(HttpSessionEvent se)
          Session Destroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Counter

public Counter()
Method Detail

sessionCreated

public void sessionCreated(HttpSessionEvent se)
SessionCreated

Specified by:
sessionCreated in interface HttpSessionListener
Parameters:
se -

sessionDestroyed

public void sessionDestroyed(HttpSessionEvent se)
Session Destroyed

Specified by:
sessionDestroyed in interface HttpSessionListener
Parameters:
se -

getActiveSessions

public static int getActiveSessions()
Get Active Sessions

Returns:
no of sessions

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.