Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.ejb.cmp.was
Class SessionLookupHelper

java.lang.Object
  extended byoracle.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
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.

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.