|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.common.ampool.PoolMgr
This class manages the Application Pool. It is a singleton instance. View implementation of PoolMgr
Method Summary | |
ApplicationPool |
createPool(java.lang.String sName,
java.lang.String sPackageName,
java.lang.String sConfigName)
Create a new Application Module pool, throws an exception if the pool is already registered. |
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 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. |
static PoolMgr |
getInstance()
Retrieves the singleton instance of the Pool Manager |
ApplicationPool |
getPool(java.lang.String sName)
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. |
boolean |
isPoolCreated(java.lang.String sName)
returns true if the pool has already been created. |
void |
removePool(java.lang.String sName)
Removes the named pool and calls remove() function on all ApplicationModule instances that are being managed by the pool. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static PoolMgr getInstance()
public boolean isPoolCreated(java.lang.String sName)
public ApplicationPool getPool(java.lang.String sName)
public void removePool(java.lang.String sName)
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
public ApplicationPool createPool(java.lang.String sName, java.lang.String sApplicationModule, java.lang.String sConnectString, java.util.Hashtable env) throws java.lang.Exception
public java.util.Enumeration getPools()
public java.util.Enumeration getPoolNames()
public ApplicationPool createPool(java.lang.String sName, java.lang.String sPackageName, java.lang.String sConfigName) throws java.lang.Exception
sName
- name of the poolsPackageName
- package name of the AppModule., package10, for package10.Package10ModulesConfigName
- named Configuration to use
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |