|
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.ApplicationPoolImpl
This class provides the default implementation of the ApplicationPool interface. View definition of ApplicationPool View Implementation of ApplicationPoolImpl
Constructor Summary | |
ApplicationPoolImpl()
Constructor |
Method Summary | |
void |
checkin(ApplicationModule instance)
Checks in an application instance that had previously been checked out. |
ApplicationModule |
checkout()
Checks out an application instance from the pool. |
ApplicationModule |
createNewInstance()
This create a new instance of an application without looking for an available instance in the pool. |
java.lang.String |
getApplicationModuleClass()
Return the class name of the application modules being managed by the pool. |
java.lang.String |
getConnectString()
Return the connect string of the application modules being managed by the application pool. |
java.util.Hashtable |
getEnvironment()
Returns the Hashtable that was used to initialie the Contect for the application modules. |
ApplicationModule |
getInstance(int nIndex)
Returns the application instance represented by the instance index. |
int |
getInstanceCount()
Returns the number of instances that the Application Pool has created. |
java.lang.String |
getPoolName()
Returns the pool's name. |
java.util.Hashtable |
getUserData()
returns the User Data hashtable. |
void |
initialize(java.lang.String sPoolName,
java.lang.String sApplicationModule,
java.lang.String sConnectString,
java.util.Hashtable env)
This initializes the ApplicationPool. |
boolean |
isAvailable(ApplicationModule instance)
Returns true if the application module is available |
void |
releaseInstances()
Causes the pool to release all the application isntances that have been created so far. |
void |
setAvailable(ApplicationModule instance,
boolean bSet)
Sets the instance to available or not |
void |
setUserData(java.util.Hashtable data)
Replaces the userData with the new Hashtable. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ApplicationPoolImpl()
Method Detail |
public void initialize(java.lang.String sPoolName, java.lang.String sApplicationModule, java.lang.String sConnectString, java.util.Hashtable env) throws java.lang.Exception
public java.lang.String getApplicationModuleClass()
public java.lang.String getConnectString()
public java.util.Hashtable getEnvironment()
public void checkin(ApplicationModule instance)
public boolean isAvailable(ApplicationModule instance)
public void setAvailable(ApplicationModule instance, boolean bSet)
public ApplicationModule createNewInstance()
public ApplicationModule checkout()
public void releaseInstances()
public int getInstanceCount()
public ApplicationModule getInstance(int nIndex)
public java.lang.String getPoolName()
public java.util.Hashtable getUserData()
public void setUserData(java.util.Hashtable data)
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |