Class UpdateUserStatusListener
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.services.listener.Listener<org.exoplatform.container.PortalContainer,javax.servlet.http.HttpSessionEvent>
-
- org.exoplatform.addons.chat.listener.UpdateUserStatusListener
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class UpdateUserStatusListener extends org.exoplatform.services.listener.Listener<org.exoplatform.container.PortalContainer,javax.servlet.http.HttpSessionEvent>This listener will be used to update chat status of current user in the case session destroyed.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSTATUS_OFFLINE
-
Constructor Summary
Constructors Constructor Description UpdateUserStatusListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.container.PortalContainer,javax.servlet.http.HttpSessionEvent> event)
-
-
-
Field Detail
-
STATUS_OFFLINE
public static final String STATUS_OFFLINE
- See Also:
- Constant Field Values
-
-
Method Detail
-
onEvent
public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.container.PortalContainer,javax.servlet.http.HttpSessionEvent> event)
- Specified by:
onEventin classorg.exoplatform.services.listener.Listener<org.exoplatform.container.PortalContainer,javax.servlet.http.HttpSessionEvent>
-
-