Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`AnonymousProfileListener()`

Method Summary
`void` | `sessionCreated(HttpSessionEvent evt)` When a session is created, initialize an Anonymous Profile in the session for the user.
`void` | `sessionDestroyed(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(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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved