© 2002 BEA Systems, Inc.


com.bea.p13n.servlets
Class AnonymousProfileListener

java.lang.Object
  |
  +--com.bea.p13n.servlets.AnonymousProfileListener

public class AnonymousProfileListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

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


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

Constructor Detail

AnonymousProfileListener

public AnonymousProfileListener()
Method Detail

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent evt)
When a session is created, initialize an Anonymous Profile in the session for the user.
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

See Also:
ProfileFactory.createAnonymousProfile(), SessionHelper.putProfileInSession(javax.servlet.http.HttpServletRequest, com.bea.p13n.usermgmt.profile.ProfileWrapper)

sessionDestroyed

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

This method here does nothing.

Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener


© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved