Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server
Class ConnectionPoolManagerFactory

java.lang.Object
  extended byoracle.jbo.server.ConnectionPoolManagerFactory

public class ConnectionPoolManagerFactory
extends java.lang.Object

A factory for creating instances of the designated ConnectionPoolManager implementation. This factory returns an instance of the ConnectionPoolManager class that is declared in the Business Components for Java property, jbo.ConnectionPoolManager.

Business Components for Java provides a default connection pool manager, ConnectionPoolManagerImpl, that will be loaded if a custom connection pool manager has not been specified.

The connection pool manager reference in the connection pool factory is a static, singleton. Resetting the connection pool manager after it has been initialized is currently not supported.

See Also:
ConnectionPoolManager

Method Summary
static ConnectionPoolManager getConnectionPoolManager()
          Creates instances of a designated implementation of the ConnectionPoolManager interface.
static ConnectionPoolManager getConnectionPoolManager(java.util.Hashtable context)
           
static boolean isInitialized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnectionPoolManager

public static ConnectionPoolManager getConnectionPoolManager()
Creates instances of a designated implementation of the ConnectionPoolManager interface.

For example:

   // Get a connection pool manager instance
   // from the connection pool manager factory
      ConnectionPoolManager connectionPoolManager =
      ConnectionPoolManagerFactory.getConnectionPoolManager();
 

One implementation of ConnectionPoolManager is provided in this package at, ConnectionPoolManagerImpl. This user-defined implementation, can be specified by setting the jbo.ConnectionPoolManager property in the jboserver.properties file or -Djbo.ConnectionPoolManager in the JDeveloper IDE.

Returns:
instances of a connection pool manager object.

getConnectionPoolManager

public static ConnectionPoolManager getConnectionPoolManager(java.util.Hashtable context)

isInitialized

public static boolean isInitialized()

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.