Class ActiveSessionListener
java.lang.Object
org.ametys.runtime.plugins.admin.jvmstatus.ActiveSessionListener
- All Implemented Interfaces:
EventListener
,HttpSessionListener
Simple HttpSessionListener resgistering active sessions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the active HTTP sessions with ID, created time, last accessed time and user if available.void
void
-
Constructor Details
-
ActiveSessionListener
public ActiveSessionListener()
-
-
Method Details
-
sessionCreated
- Specified by:
sessionCreated
in interfaceHttpSessionListener
-
sessionDestroyed
- Specified by:
sessionDestroyed
in interfaceHttpSessionListener
-
getActiveSessions
Get the active HTTP sessions with ID, created time, last accessed time and user if available.- Returns:
- all the active HTTP sessions
-