|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
org.apache.ojb.broker.util.pooling.PoolConfiguration
org.apache.ojb.broker.core.PBPoolInfo
Encapsulates the PB-pool configuration properties used in
in the PersistenceBrokerFactoryIF
implementations.
| Nested Class Summary |
| Nested classes inherited from class java.util.Hashtable |
|
| Field Summary |
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
PBPoolInfo()
|
|
PBPoolInfo(java.util.Properties properties)
|
|
| Method Summary | |
void |
configure(Configuration pConfig)
Read in the configuration properties. |
void |
init()
Init default properties. |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PBPoolInfo()
public PBPoolInfo(java.util.Properties properties)
| Method Detail |
public void configure(Configuration pConfig)
throws ConfigurationException
configure in interface ConfigurablepConfig - the Configuration object used to configure current instance
ConfigurationExceptionpublic void init()
PoolConfiguration.setTestOnBorrow(boolean), PoolConfiguration.setTestOnReturn(boolean), PoolConfiguration.setTestWhileIdle(boolean)
to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||