org.mycore.common.events
Class MCRSessionEvent

java.lang.Object
  extended by org.mycore.common.events.MCRSessionEvent

public class MCRSessionEvent
extends Object

Since:
2.0
Version:
$Revision: 15200 $ $Date: 2009-05-15 16:47:58 +0200 (Fri, 15 May 2009) $
Author:
Thomas Scheffler (yagee)

Nested Class Summary
static class MCRSessionEvent.Type
           
 
Constructor Summary
MCRSessionEvent(MCRSession session, MCRSessionEvent.Type type, int concurrentAccessors)
           
 
Method Summary
 int getConcurrentAccessors()
          Return how many threads accessed the session at time the event occured.
 MCRSession getSession()
          Return the MCRSession on which this event occured.
 MCRSessionEvent.Type getType()
          Return the event type of this event.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MCRSessionEvent

public MCRSessionEvent(MCRSession session,
                       MCRSessionEvent.Type type,
                       int concurrentAccessors)
Method Detail

getConcurrentAccessors

public int getConcurrentAccessors()
Return how many threads accessed the session at time the event occured.


getSession

public MCRSession getSession()
Return the MCRSession on which this event occured.


getType

public MCRSessionEvent.Type getType()
Return the event type of this event.


toString

public String toString()
Overrides:
toString in class Object