Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.ejb.bmp
Class BMPDatastoreManager

java.lang.Object
  extended by oracle.toplink.ejb.bmp.BMPDatastoreManager


public class BMPDatastoreManager
extends java.lang.Object

Purpose: Global Datastore collection location used in our suggested BMP implementation.

Description: This allows for a global location for datastore objects which can be accessed globally from EntityBeans.

Responsibilities:

Since:
TOPLink/Java 3.0

Method Summary
 EJBDataStore getDatastore(java.lang.Class classType)
          This method returns a dataStore instance for a particular sesssion and bean class.
 EJBDataStore getDatastore(XMLSessionConfigLoader xmlSessionConfigloader, java.lang.String sessionName, java.lang.Class classType)
          This method returns a dataStore instance for a particular sesssion and bean class.
static BMPDatastoreManager getManager()
          Return the singleton datastore manager.

 

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

 

Method Detail

getDatastore

public EJBDataStore getDatastore(java.lang.Class classType)
This method returns a dataStore instance for a particular sesssion and bean class. This will use the default session name "default"
Parameters:
classType - java.lang.String the bean class

getDatastore

public EJBDataStore getDatastore(XMLSessionConfigLoader xmlSessionConfigloader,
                                 java.lang.String sessionName,
                                 java.lang.Class classType)
This method returns a dataStore instance for a particular sesssion and bean class.
Parameters:
sessionName - java.lang.String The registered name of the session
classType - java.lang.String the bean class

getManager

public static BMPDatastoreManager getManager()
Return the singleton datastore manager. This allows global access to datastores.

Skip navigation links

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