|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.pool.ResourcePoolManager | +--oracle.jbo.common.ampool.PoolMgr
This class manages the Application Pool. It is a singleton instance.
View implementation of PoolMgr
Field Summary |
Fields inherited from class oracle.jbo.pool.ResourcePoolManager |
mLock |
Constructor Summary | |
PoolMgr() |
Method Summary | |
void |
addPool(ApplicationPool pool) Deprecated. |
void |
addResourcePool(java.lang.Object key, java.lang.Object pool) |
ApplicationPool |
createPool(java.lang.String sName, java.lang.String sApplicationModule, java.lang.String sConnectString, java.util.Hashtable env) Create a new Application Module pool, throws an exception if the pool is already registered. |
ApplicationPool |
createPool(java.lang.String sName, java.lang.String sPackageName, java.lang.String sConfigName, java.util.Properties props) Creates a new Application Module pool, throws an exception if the pool is already registered. |
ApplicationPool |
createPool(java.lang.String sName, java.lang.String sClass, java.lang.String sApplicationModule, java.lang.String sConnectString, java.util.Hashtable env) Create a new Application Module pool, throws an exception if the pool is already registered. |
ApplicationPool |
findPool(java.lang.String poolName, Configuration configuration, java.lang.String configName) |
ApplicationPool |
findPool(java.lang.String poolName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment) Searches for a pool with the specified name. |
ApplicationPool |
findPool(java.lang.String poolName, java.lang.String packageName, java.lang.String configName, java.util.Properties props) Searches for a pool with the specified name. |
ApplicationPool |
findPool(java.lang.String poolName, java.lang.String poolClassName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment) Searches for a pool with the specified name. |
static PoolMgr |
getInstance() Retrieves the singleton instance of the Pool Manager |
protected int |
getMonitorSleepInterval() |
ApplicationPool |
getPool(java.lang.String sName) Deprecated. |
java.util.Enumeration |
getPoolNames() Deprecated. |
java.util.Enumeration |
getPools() Deprecated. |
java.lang.Object |
getResourcePool(java.lang.Object key) |
boolean |
isPoolCreated(java.lang.String sName) Returns true if the pool has already been created. |
void |
removePool(java.lang.String sName) Deprecated. |
void |
removeResourcePool(java.lang.Object key) |
Methods inherited from class oracle.jbo.pool.ResourcePoolManager |
getManagerInstance, getResourcePoolKeys, getResourcePools, getResourcePoolTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PoolMgr()
Method Detail |
public static PoolMgr getInstance()
public boolean isPoolCreated(java.lang.String sName)
public ApplicationPool getPool(java.lang.String sName)
oracle.jbo.pool.ResourcePoolManager#getResourcePool()
public java.lang.Object getResourcePool(java.lang.Object key)
getResourcePool
in class oracle.jbo.pool.ResourcePoolManager
public void addPool(ApplicationPool pool)
oracle.jbo.pool.ResourcePoolManager#addResourcePool(String, Object)
public void addResourcePool(java.lang.Object key, java.lang.Object pool)
addResourcePool
in class oracle.jbo.pool.ResourcePoolManager
public void removePool(java.lang.String sName)
oracle.jbo.pool.ResourcePoolManager#removeResourcePool(String)
public void removeResourcePool(java.lang.Object key)
removeResourcePool
in class oracle.jbo.pool.ResourcePoolManager
public java.util.Enumeration getPools()
ResourcePoolManager.getResourcePools()
public java.util.Enumeration getPoolNames()
ResourcePoolManager.getResourcePoolKeys()
public ApplicationPool createPool(java.lang.String sName, java.lang.String sClass, java.lang.String sApplicationModule, java.lang.String sConnectString, java.util.Hashtable env) throws java.lang.Exception
java.lang.Exception
public ApplicationPool createPool(java.lang.String sName, java.lang.String sApplicationModule, java.lang.String sConnectString, java.util.Hashtable env) throws java.lang.Exception
java.lang.Exception
public ApplicationPool createPool(java.lang.String sName, java.lang.String sPackageName, java.lang.String sConfigName, java.util.Properties props) throws java.lang.Exception
This method creates an Application Module pool, based on the named AppModule Configuaraion
The application module configuration provides the necessary settings required for creating instances of Application Modules that are part of the pool. You can also specify the name of a custom application pool implementation (implements oracle.jbo.common.ApplicationPool interface). The default ApplicationPool implementation is provided in oracle.jbo.common.ampool.ApplicationPoolImpl.
sName
- name of the poolsPackageName
- package name of the AppModule., package10, for package10.Package10ModulesConfigName
- named Configuration to useprops
- collection of additional properties to be passed to the application pooljava.lang.Exception
public ApplicationPool findPool(java.lang.String poolName, java.lang.String poolClassName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment)
public ApplicationPool findPool(java.lang.String poolName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment)
public ApplicationPool findPool(java.lang.String poolName, Configuration configuration, java.lang.String configName)
public ApplicationPool findPool(java.lang.String poolName, java.lang.String packageName, java.lang.String configName, java.util.Properties props)
protected int getMonitorSleepInterval()
getMonitorSleepInterval
in class oracle.jbo.pool.ResourcePoolManager
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.