Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.toplink.ejb.cmp.was
Class SessionLookupHelper

`java.lang.Object
oracle.toplink.ejb.cmp.was.SessionLookupHelper`

public class SessionLookupHelper
extends java.lang.Object

PUBLIC:

Purpose: Help the the entity bean to lookup its session Description: Implement a singleton pattern which maps bean's class to its session Responsibilities:

- Manage associations of entity bean and its TopLink session

Method Summary
`static SessionLookupHelper` | `getHelper()` PUBLIC: Return the singleton session lookup helper.
`Session` | `getSession(javax.ejb.EntityBean bean)` PUBLIC: Return the session for the given entity bean.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getHelper

    public static SessionLookupHelper getHelper()

  PUBLIC: Return the singleton session lookup helper. This allow global lookup of session for entity bean.

### getSession

    public Session getSession(javax.ejb.EntityBean bean)

  PUBLIC: Return the session for the given entity bean.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 1998, 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD