Skip navigation links


com.essbase.eas.server.dao.jdbc.dbPool
Class ResourcePoolRegistry

java.lang.Object
  extended by com.essbase.eas.server.dao.jdbc.dbPool.ResourcePoolRegistry


public class ResourcePoolRegistry
extends java.lang.Object

Constructor Summary
ResourcePoolRegistry()
           

 

Method Summary
 ResourcePool getResourcePool(java.lang.String poolName)
          Provides a given resource pool.
static ResourcePoolRegistry getResourcePoolRegistry()
          Provides the singleton occurance of the Resource Pool Registry.
 void registerPool(ResourcePool pool)
          Registers a new resource pool and checks that it's the only pool of it's type in the registry.
 void unRegisterPool(java.lang.Class classObject)
          UnRegisters a new resource pool.
 void unRegisterPool(ResourcePool pool)
          UnRegisters a new resource pool.
 void unRegisterPool(java.lang.String poolName)
          UnRegisters a new resource pool.

 

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

 

Constructor Detail

ResourcePoolRegistry

public ResourcePoolRegistry()
                     throws DataAccessException
Throws:
DataAccessException

Method Detail

getResourcePoolRegistry

public static ResourcePoolRegistry getResourcePoolRegistry()
                                                    throws DataAccessException
Provides the singleton occurance of the Resource Pool Registry.
Returns:
Pool Registry
Throws:
DataAccessException

registerPool

public void registerPool(ResourcePool pool)
                  throws DataAccessException
Registers a new resource pool and checks that it's the only pool of it's type in the registry.
Parameters:
Resource - Pool
Throws:
DataAccessException

unRegisterPool

public void unRegisterPool(ResourcePool pool)
                    throws DataAccessException
UnRegisters a new resource pool.
Parameters:
Resource - Pool
Throws:
DataAccessException

unRegisterPool

public void unRegisterPool(java.lang.Class classObject)
                    throws DataAccessException
UnRegisters a new resource pool.
Parameters:
Resource - Pool Class
Throws:
DataAccessException

unRegisterPool

public void unRegisterPool(java.lang.String poolName)
                    throws DataAccessException
UnRegisters a new resource pool.
Parameters:
Resource - Pool Name
Throws:
DataAccessException

getResourcePool

public ResourcePool getResourcePool(java.lang.String poolName)
                             throws DataAccessException
Provides a given resource pool. Produces an exception if the pool doesn't exist.
Parameters:
pool - name
Throws:
DataAccessException

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.