|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.objectpools.PooledValidationBeanAccessHelper
public class PooledValidationBeanAccessHelper
This class encapsulates access to the configured Keyed Pool of ValidationBean(s), which is managed by ValidationBeanKeyedPoolFactory.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
The logging implementation for this class. |
protected static java.lang.String |
thisClassName
The full name of this class. |
| Constructor Summary | |
|---|---|
PooledValidationBeanAccessHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
getPooledValidationBean(java.lang.String poolKey)
Gets a pooled ValidationBean from configured keyed pool of ValidationBean(s). |
static void |
main(java.lang.String[] args)
Main method for testing and sandboxing. |
static void |
returnPooledValidationBean(java.lang.String poolKey,
java.lang.Object validationBean)
Returns a ValidationBean object to the configured pool of ValidationBean(s). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String thisClassName
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public PooledValidationBeanAccessHelper()
| Method Detail |
|---|
public static java.lang.Object getPooledValidationBean(java.lang.String poolKey)
throws java.lang.Exception
poolKey - The key to the target ValidationBean in the
heterogeneous pool of ValidationBean(s).
java.lang.Exception - if a ValidationBean cannot be obtained from the pool.
public static void returnPooledValidationBean(java.lang.String poolKey,
java.lang.Object validationBean)
poolKey - The key to the target ValidationBean in the
heterogeneous pool of ValidationBean(s).validationBean - The ValidationBean to return.public static void main(java.lang.String[] args)
args -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||