com.bea.p13n.servlets
Class AnonymousProfileListener
java.lang.Object
com.bea.p13n.servlets.AnonymousProfileListener
- All Implemented Interfaces:
- EventListener, HttpSessionListener
- public class AnonymousProfileListener
- extends Object
- implements HttpSessionListener
Initialize an Anonymous ProfileWrapper in the user's session, when the
session is created.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonymousProfileListener
public AnonymousProfileListener()
sessionCreated
public void sessionCreated(HttpSessionEvent evt)
- When a session is created, initialize an Anonymous Profile in the
session for the user.
- Specified by:
sessionCreated
in interface HttpSessionListener
- See Also:
ProfileFactory.createAnonymousProfile()
,
SessionHelper.putProfileInSession(javax.servlet.http.HttpServletRequest, com.bea.p13n.usermgmt.profile.ProfileWrapper)
sessionDestroyed
public void sessionDestroyed(HttpSessionEvent evt)
- Called when a session is destroyed.
This method here does nothing.
- Specified by:
sessionDestroyed
in interface HttpSessionListener
Copyright © 2005 BEA Systems, Inc. All Rights Reserved