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:


Method Summary
TypeMethod
static SessionLookupHelper getHelper()
          PUBLIC: Return the singleton session lookup helper.
 oracle.toplink.sessions.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 oracle.toplink.sessions.Session getSession(javax.ejb.EntityBean bean)
PUBLIC: Return the session for the given entity bean.