Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.ejb.bmp
Class BMPDatastoreManager

java.lang.Object
  extended byoracle.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 © 1998, 2005 Oracle Corporation. All Rights Reserved.