AnonymousProfileListener Class

com.bea.p13n.servlets
AnonymousProfileListener Class

public class AnonymousProfileListener

    extends Object
    implements HttpSessionListener

Initialize an Anonymous ProfileWrapper in the user's session, when the session is created.


Hierarchy
Object
  AnonymousProfileListener
All Implemented Interfaces

EventListener, HttpSessionListener

Constructor Summary

AnonymousProfileListener()

 

Method Summary

public void
sessionCreated(HttpSessionEvent evt)
When a session is created, initialize an Anonymous Profile in the session for the user.
public void
sessionDestroyed(HttpSessionEvent evt)
Called when a session is destroyed.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.http.HttpSessionListener
sessionCreated, sessionDestroyed
 

Constructor Detail

AnonymousProfileListener

public AnonymousProfileListener()
 

Method Detail

sessionCreated(HttpSessionEvent) Method

public void sessionCreated(HttpSessionEvent evt)
When a session is created, initialize an Anonymous Profile in the session for the user.

Related Topics

ProfileFactory.createAnonymousProfile()
SessionHelper.putProfileInSession(HttpServletRequest, ProfileWrapper)


sessionDestroyed(HttpSessionEvent) Method

public void sessionDestroyed(HttpSessionEvent evt)
Called when a session is destroyed.

This method here does nothing.