com.bea.p13n.tracking.events
Class SessionEndEvent
java.lang.Object
com.bea.p13n.property.AbstractConfigurableEntity
com.bea.p13n.events.Event
com.bea.p13n.tracking.events.TrackingEvent
com.bea.p13n.tracking.events.SessionEndEvent
- All Implemented Interfaces
- EventConstants, IEvent, ConfigurableEntity, Serializable
public class SessionEndEvent
- extends TrackingEvent
Event for tracking user session end
- See Also
- Serialized Form
Constructor Summary |
SessionEndEvent(javax.servlet.http.HttpSession session)
Create a new SessionEndEvent. |
SessionEndEvent(String theSessionId,
String theUserId)
Deprecated Use SessionEndEvent( HttpSession session) |
Method Summary |
void |
setUserInfo(javax.servlet.http.HttpSession session)
Set the user info in case we had to create the SessionEndEvent before we
had the session (CR111956) |
Methods inherited from class com.bea.p13n.events.Event |
getApplication, getAttribute, getAttributeNames, getProperty, getTimeStamp, getType, removeAttribute, setApplication, setAttribute, setTimeStamp, toString |
Methods inherited from class com.bea.p13n.property.AbstractConfigurableEntity |
createMapKey, getCachedProperty, getExplicitProperty, getExplicitSetter, getImplicitProperty, getJndiName, getPkString, getPropertyAsString, getPropertyCache, getPropertyNoDefault, getUniqueId, hasExplicitGetter, hasExplicitSetter, removeExplicitProperty, removeProperty, setExplicitProperty, setProperty, upcaseFirst |
TYPE
public static final String TYPE
- Event Type
- See Also
- Constants Summary
SessionEndEvent
public SessionEndEvent(javax.servlet.http.HttpSession session)
- Create a new SessionEndEvent.
This ctor must be used for tracking anonymous users.
SessionEndEvent
public SessionEndEvent(String theSessionId,
String theUserId)
- Deprecated Use SessionEndEvent( HttpSession session)
- Create a new SessionEndEvent.
- Parameters
theSessionId
- from HttpSession.getId()theUserId
- from HttpServletRequest.getRemoteUser() or equivalent (null if unknown)
setUserInfo
public void setUserInfo(javax.servlet.http.HttpSession session)
- Set the user info in case we had to create the SessionEndEvent before we
had the session (CR111956)
Copyright © 2011, Oracle. All rights reserved.