public class ContextPoolManager extends PoolMgr
CONFIGURATION_USAGE_TYPE_PROPERTY, LOGGER_NAMEmLock| Constructor and Description | 
|---|
| ContextPoolManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPool(ApplicationPool pool)Adds the pool to the pool manager collection. | 
| void | addResourcePool(java.lang.Object poolKey,
               java.lang.Object pool)Adds the pool to the pool manager collection. | 
| 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() | 
| PoolMgr | getApplicationPoolMgr(java.lang.Object app) | 
| 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)Returns the ResourcePool for the specified key. | 
| java.util.Enumeration | getResourcePoolKeys()Returns an enumeration of resource pool keys. | 
| java.util.Enumeration | getResourcePools()Returns an enumeration of resource pools. | 
| java.util.Timer | getResourcePoolTimer()Retrieves the singleton instance of the Timer thread | 
| 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)Removes the specified pool from the pool manager. | 
destroy, findPool, findPool, generatePoolName, getInstance, getMonitorSleepInterval, wakeupclassLoaderShuttingDown, createPoolMonitor, getManagerInstance, getProperty, removePoolMonitorpublic java.util.Timer getResourcePoolTimer()
ResourcePoolManagergetResourcePoolTimer in class ResourcePoolManagerpublic java.lang.Object getResourcePool(java.lang.Object poolKey)
ResourcePoolManagergetResourcePool in class ResourcePoolManagerpublic void addResourcePool(java.lang.Object poolKey,
                   java.lang.Object pool)
ResourcePoolManageraddResourcePool in class ResourcePoolManagerpoolKey - a unique identifier representing the added pool.public void removeResourcePool(java.lang.Object poolKey)
ResourcePoolManagerremoveResourcePool in class ResourcePoolManagerpoolKey - the identifier that was used to add the pool to pool
    managerpublic java.util.Enumeration getResourcePools()
ResourcePoolManagergetResourcePools in class ResourcePoolManagerpublic java.util.Enumeration getResourcePoolKeys()
ResourcePoolManagergetResourcePoolKeys in class ResourcePoolManagerpublic boolean isPoolCreated(java.lang.String poolName)
PoolMgrisPoolCreated in class PoolMgrpublic ApplicationPool getPool(java.lang.String poolName)
PoolMgrgetPool in class PoolMgrResourcePoolManager.getResourcePool(Object)public void addPool(ApplicationPool pool)
PoolMgraddPool in class PoolMgrpool - the pool to add.ResourcePoolManager.addResourcePool(Object, Object)public void removePool(java.lang.String poolName)
PoolMgrremovePool in class PoolMgrpoolName - name of the pool to remove.ResourcePoolManager.removeResourcePool(Object)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.Exceptionpublic 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.Exceptionpublic 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 PoolMgrpackageName - 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.Exceptionpublic ApplicationPool findPool(java.lang.String poolName, java.lang.String poolClassName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment)
PoolMgrpublic ApplicationPool findPool(java.lang.String poolName, java.lang.String applicationModuleName, java.lang.String connectString, java.util.Hashtable environment)
PoolMgrpublic ApplicationPool findPool(java.lang.String poolName, java.lang.String packageName, java.lang.String configName, java.util.Properties props)
PoolMgrpublic java.lang.Object[] getAllPoolMgrs()
public final PoolMgr getApplicationPoolMgr(java.lang.Object app)