Oracle Application Server TopLink API Reference
10g (9.0.4)

B10491-01

oracle.toplink.ejb.bmp
Class BMPDatastoreManager

java.lang.Object
  |
  +--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)
          PUBLIC: This method returns a dataStore instance for a particular sesssion and bean class.
 EJBDataStore getDatastore(XMLLoader xmlLoader, java.lang.String sessionName, java.lang.Class classType)
          PUBLIC: This method returns a dataStore instance for a particular sesssion and bean class.
static BMPDatastoreManager getManager()
          PUBLIC: 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)
PUBLIC: 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(XMLLoader xmlLoader,
                                 java.lang.String sessionName,
                                 java.lang.Class classType)
PUBLIC: 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()
PUBLIC: Return the singleton datastore manager. This allows global access to datastores.

Copyright © 2003 Oracle Corporation. All Rights Reserved.