|
||||||||||
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.metadata.ConnectionPoolDescriptor
Encapsulates connection pooling configuration properties managed by
JdbcConnectionDescriptor
.
Every new instantiated ConnectionPoolDescriptor
was
associated with default connection pool attributes.
Field Summary |
Fields inherited from class org.apache.ojb.broker.util.pooling.PoolConfiguration |
DEFAULT_LOG_ABANDONED, DEFAULT_MAX_ACTIVE, DEFAULT_MAX_IDLE, DEFAULT_MAX_WAIT, DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_NUM_TESTS_PER_EVICTION_RUN, DEFAULT_REMOVE_ABANDONED, DEFAULT_REMOVE_ABANDONED_TIMEOUT, DEFAULT_TEST_ON_BORROW, DEFAULT_TEST_ON_RETURN, DEFAULT_TEST_WHILE_IDLE, DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS, DEFAULT_WHEN_EXHAUSTED_ACTION, EMPTY, LOG_ABANDONED, MAX_ACTIVE, MAX_IDLE, MAX_WAIT, MIN_EVICTABLE_IDLE_TIME_MILLIS, NUM_TESTS_PER_EVICTION_RUN, REMOVE_ABANDONED, REMOVE_ABANDONED_TIMEOUT, TEST_ON_BORROW, TEST_ON_RETURN, TEST_WHILE_IDLE, TIME_BETWEEN_EVICTION_RUNS_MILLIS, VALIDATION_QUERY, WHEN_EXHAUSTED_ACTION |
Constructor Summary | |
ConnectionPoolDescriptor()
|
Method Summary | |
java.lang.Class |
getConnectionFactory()
|
void |
init()
Set some initial values. |
void |
setConnectionFactory(java.lang.Class connectionFactory)
|
java.lang.String |
toXML()
returns the XML marshalled version of this instance. |
Methods inherited from class org.apache.ojb.broker.util.pooling.PoolConfiguration |
getAbandonedConfig, getKeyedObjectPoolConfig, getMaxActive, getMaxIdle, getMaxWait, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getObjectPoolConfig, getRemoveAbandonedTimeout, getTimeBetweenEvictionRunsMillis, getValidationQuery, getWhenExhaustedAction, isLogAbandoned, isRemoveAbandoned, isTestOnBorrow, isTestOnReturn, isTestWhileIdle, setLogAbandoned, setMaxActive, setMaxIdle, setMaxWait, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setRemoveAbandoned, setRemoveAbandonedTimeout, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setValidationQuery, setWhenExhaustedAction |
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, remove, size, toString, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConnectionPoolDescriptor()
Method Detail |
public void init()
public java.lang.Class getConnectionFactory()
public void setConnectionFactory(java.lang.Class connectionFactory)
public java.lang.String toXML()
XmlCapable
toXML
in interface XmlCapable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |