|
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
|
+--oracle.jbo.common.ampool.ContextPoolManager
| Field Summary |
| Fields inherited from class oracle.jbo.pool.ResourcePoolManager |
mLock |
| Constructor Summary | |
ContextPoolManager() | |
| Method Summary | |
void |
addPool(ApplicationPool pool)Adds the named pool to the pool manager collection. |
void |
addResourcePool(java.lang.Object poolKey, java.lang.Object pool) |
ApplicationPool |
createPool(java.lang.String poolName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment)Create a new Application Module pool, throws an exception if the pool is already registered. |
ApplicationPool |
createPool(java.lang.String poolName, java.lang.String packageName, java.lang.String configName, java.util.Properties props)Creates a new Application Module pool, throws an exception if the pool is already registered. |
ApplicationPool |
createPool(java.lang.String poolName, java.lang.String poolClassName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment)Create a new Application Module pool, throws an exception if the pool is already registered. |
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. |
java.lang.Object[] |
getAllPoolMgrs() |
ApplicationPool |
getPool(java.lang.String poolName)Returns the ApplicationPool interface for the named pool. |
java.util.Enumeration |
getPoolNames() |
java.util.Enumeration |
getPools()Returns the Enumeration interface that allows you to enumerate through all the Application Pools that are registered with the Pool Manager. |
java.lang.Object |
getResourcePool(java.lang.Object poolKey) |
java.util.Enumeration |
getResourcePoolKeys() |
java.util.Enumeration |
getResourcePools() |
java.util.Timer |
getResourcePoolTimer() |
boolean |
isPoolCreated(java.lang.String poolName)Returns true if the pool has already been created. |
void |
removePool(java.lang.String poolName)Removes the named pool and calls remove() method on all ApplicationModule instances that are being managed by the pool. |
void |
removeResourcePool(java.lang.Object poolKey) |
| Methods inherited from class oracle.jbo.common.ampool.PoolMgr |
findPool, getInstance, getMonitorSleepInterval |
| Methods inherited from class oracle.jbo.pool.ResourcePoolManager |
getManagerInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContextPoolManager()
| Method Detail |
public java.util.Timer getResourcePoolTimer()
getResourcePoolTimer in class oracle.jbo.pool.ResourcePoolManagerpublic java.lang.Object getResourcePool(java.lang.Object poolKey)
getResourcePool in class PoolMgr
public void addResourcePool(java.lang.Object poolKey,
java.lang.Object pool)
addResourcePool in class PoolMgrpublic void removeResourcePool(java.lang.Object poolKey)
removeResourcePool in class PoolMgrpublic java.util.Enumeration getResourcePools()
getResourcePools in class oracle.jbo.pool.ResourcePoolManagerpublic java.util.Enumeration getResourcePoolKeys()
getResourcePoolKeys in class oracle.jbo.pool.ResourcePoolManagerpublic boolean isPoolCreated(java.lang.String poolName)
PoolMgrisPoolCreated in class PoolMgrpublic ApplicationPool getPool(java.lang.String poolName)
PoolMgrgetPool in class PoolMgroracle.jbo.pool.ResourcePoolManager#getResourcePool()public void addPool(ApplicationPool pool)
PoolMgraddPool in class PoolMgroracle.jbo.pool.ResourcePoolManager#addResourcePool(String, Object)public void removePool(java.lang.String poolName)
PoolMgrremovePool in class PoolMgroracle.jbo.pool.ResourcePoolManager#removeResourcePool(String)public java.util.Enumeration getPools()
PoolMgrgetPools in class PoolMgrResourcePoolManager.getResourcePools()public java.util.Enumeration getPoolNames()
getPoolNames in class PoolMgrResourcePoolManager.getResourcePoolKeys()
public ApplicationPool createPool(java.lang.String poolName,
java.lang.String poolClassName,
java.lang.String applicationModuleName,
java.lang.String connectString,
java.util.Hashtable environment)
throws java.lang.Exception
PoolMgrcreatePool in class PoolMgrjava.lang.Exception
public ApplicationPool createPool(java.lang.String poolName,
java.lang.String applicationModuleName,
java.lang.String connectString,
java.util.Hashtable environment)
throws java.lang.Exception
PoolMgrcreatePool in class PoolMgrjava.lang.Exception
public ApplicationPool createPool(java.lang.String poolName,
java.lang.String packageName,
java.lang.String configName,
java.util.Properties props)
throws java.lang.Exception
PoolMgrThis 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.
createPool in class PoolMgrpoolName - name of the poolpackageName - package name of the AppModule., package10, for package10.Package10ModuleconfigName - 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)
PoolMgrfindPool in class PoolMgr
public ApplicationPool findPool(java.lang.String poolName,
java.lang.String applicationModuleName,
java.lang.String connectString,
java.util.Hashtable environment)
PoolMgrfindPool in class PoolMgr
public ApplicationPool findPool(java.lang.String poolName,
java.lang.String packageName,
java.lang.String configName,
java.util.Properties props)
PoolMgrfindPool in class PoolMgrpublic java.lang.Object[] getAllPoolMgrs()
|
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.