blob: 7bc86657c820e90f70a48fbcaddf14bb732277dd [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>JMXBasicDataSource</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JMXBasicDataSource";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/DbcpManagedDataSource.html" title="class in org.apache.openejb.resource.jdbc.dbcp"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/ManagedDataSourceWithRecovery.html" title="class in org.apache.openejb.resource.jdbc.dbcp"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html" target="_top">Frames</a></li>
<li><a href="JMXBasicDataSource.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.openejb.resource.jdbc.dbcp</div>
<h2 title="Class JMXBasicDataSource" class="title">Class JMXBasicDataSource</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.openejb.resource.jdbc.dbcp.JMXBasicDataSource</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="describe a datasource pool")
public class <span class="typeNameLabel">JMXBasicDataSource</span>
extends java.lang.Object</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#JMXBasicDataSource-java.lang.String-org.apache.openejb.resource.jdbc.dbcp.BasicDataSource-">JMXBasicDataSource</a></span>(java.lang.String&nbsp;name,
<a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/BasicDataSource.html" title="class in org.apache.openejb.resource.jdbc.dbcp">BasicDataSource</a>&nbsp;ds)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#executeValidationQuery--">executeValidationQuery</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getDefaultAutoCommit--">getDefaultAutoCommit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getDefaultCatalog--">getDefaultCatalog</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getDefaultReadOnly--">getDefaultReadOnly</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getDefaultTransactionIsolation--">getDefaultTransactionIsolation</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getDriverClassName--">getDriverClassName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getInitialSize--">getInitialSize</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getMaxActive--">getMaxActive</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getMaxIdle--">getMaxIdle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getMaxOpenPreparedStatements--">getMaxOpenPreparedStatements</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getMaxWait--">getMaxWait</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getMinEvictableIdleTimeMillis--">getMinEvictableIdleTimeMillis</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getMinIdle--">getMinIdle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getNumActive--">getNumActive</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getNumIdle--">getNumIdle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getNumTestsPerEvictionRun--">getNumTestsPerEvictionRun</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getPoolPreparedStatements--">getPoolPreparedStatements</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getTestOnBorrow--">getTestOnBorrow</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getTestOnReturn--">getTestOnReturn</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getTestWhileIdle--">getTestWhileIdle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getTimeBetweenEvictionRunsMillis--">getTimeBetweenEvictionRunsMillis</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getUrl--">getUrl</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getUsername--">getUsername</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getValidationQuery--">getValidationQuery</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#getValidationQueryTimeout--">getValidationQueryTimeout</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setDefaultAutoCommit-boolean-">setDefaultAutoCommit</a></span>(boolean&nbsp;auto)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setDefaultCatalog-java.lang.String-">setDefaultCatalog</a></span>(java.lang.String&nbsp;catalog)</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setDefaultReadOnly-boolean-">setDefaultReadOnly</a></span>(boolean&nbsp;ro)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setDefaultTransactionIsolation-int-">setDefaultTransactionIsolation</a></span>(int&nbsp;level)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setDriverClassName-java.lang.String-">setDriverClassName</a></span>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setInitialSize-int-">setInitialSize</a></span>(int&nbsp;size)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setMaxActive-int-">setMaxActive</a></span>(int&nbsp;max)</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setMaxIdle-int-">setMaxIdle</a></span>(int&nbsp;max)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setMaxOpenPreparedStatements-int-">setMaxOpenPreparedStatements</a></span>(int&nbsp;max)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setMaxWait-long-">setMaxWait</a></span>(long&nbsp;max)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setMinEvictableIdleTimeMillis-long-">setMinEvictableIdleTimeMillis</a></span>(long&nbsp;time)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setMinIdle-int-">setMinIdle</a></span>(int&nbsp;min)</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setNumTestsPerEvictionRun-int-">setNumTestsPerEvictionRun</a></span>(int&nbsp;num)</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setPoolPreparedStatements-boolean-">setPoolPreparedStatements</a></span>(boolean&nbsp;pool)</code>&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setTestOnBorrow-boolean-">setTestOnBorrow</a></span>(boolean&nbsp;test)</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setTestOnReturn-boolean-">setTestOnReturn</a></span>(boolean&nbsp;test)</code>&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setTestWhileIdle-boolean-">setTestWhileIdle</a></span>(boolean&nbsp;test)</code>&nbsp;</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setTimeBetweenEvictionRunsMillis-long-">setTimeBetweenEvictionRunsMillis</a></span>(long&nbsp;time)</code>&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setUrl-java.lang.String-">setUrl</a></span>(java.lang.String&nbsp;url)</code>&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setUsername-java.lang.String-">setUsername</a></span>(java.lang.String&nbsp;user)</code>&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setValidationQuery-java.lang.String-">setValidationQuery</a></span>(java.lang.String&nbsp;query)</code>&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#setValidationQueryTimeout-int-">setValidationQueryTimeout</a></span>(int&nbsp;timeout)</code>&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html#unregister--">unregister</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JMXBasicDataSource-java.lang.String-org.apache.openejb.resource.jdbc.dbcp.BasicDataSource-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JMXBasicDataSource</h4>
<pre>public&nbsp;JMXBasicDataSource(java.lang.String&nbsp;name,
<a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/BasicDataSource.html" title="class in org.apache.openejb.resource.jdbc.dbcp">BasicDataSource</a>&nbsp;ds)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="unregister--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unregister</h4>
<pre>public&nbsp;void&nbsp;unregister()</pre>
</li>
</ul>
<a name="getDriverClassName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDriverClassName</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The class driver name.")
public&nbsp;java.lang.String&nbsp;getDriverClassName()</pre>
</li>
</ul>
<a name="getUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUrl</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The connection URL to be passed to our JDBC driver to establish a connection.")
public&nbsp;java.lang.String&nbsp;getUrl()</pre>
</li>
</ul>
<a name="getValidationQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidationQuery</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The SQL query that will be used to validate connections from this pool before returning them to the caller.")
public&nbsp;java.lang.String&nbsp;getValidationQuery()</pre>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The connection username to be passed to our JDBC driver to establish a connection.")
public&nbsp;java.lang.String&nbsp;getUsername()</pre>
</li>
</ul>
<a name="getValidationQueryTimeout--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidationQueryTimeout</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Timeout in seconds before connection validation queries fail.")
public&nbsp;int&nbsp;getValidationQueryTimeout()</pre>
</li>
</ul>
<a name="getInitialSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInitialSize</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The initial number of connections that are created when the pool is started.")
public&nbsp;int&nbsp;getInitialSize()</pre>
</li>
</ul>
<a name="getMaxActive--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxActive</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.")
public&nbsp;int&nbsp;getMaxActive()</pre>
</li>
</ul>
<a name="getMaxIdle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The maximum number of connections that can remain idle in the pool, without extra ones beingdestroyed, or negative for no limit.")
public&nbsp;int&nbsp;getMaxIdle()</pre>
</li>
</ul>
<a name="getMinIdle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.")
public&nbsp;int&nbsp;getMinIdle()</pre>
</li>
</ul>
<a name="getNumTestsPerEvictionRun--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumTestsPerEvictionRun</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.")
public&nbsp;int&nbsp;getNumTestsPerEvictionRun()</pre>
</li>
</ul>
<a name="getMinEvictableIdleTimeMillis--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinEvictableIdleTimeMillis</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any).")
public&nbsp;long&nbsp;getMinEvictableIdleTimeMillis()</pre>
</li>
</ul>
<a name="getTimeBetweenEvictionRunsMillis--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeBetweenEvictionRunsMillis</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The number of milliseconds to sleep between runs of the idle object evictor thread.")
public&nbsp;long&nbsp;getTimeBetweenEvictionRunsMillis()</pre>
</li>
</ul>
<a name="getMaxOpenPreparedStatements--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxOpenPreparedStatements</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The maximum number of open statements that can be allocated from the statement pool at the same time, or non-positive for no limit.")
public&nbsp;int&nbsp;getMaxOpenPreparedStatements()</pre>
</li>
</ul>
<a name="getMaxWait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxWait</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or &lt;= 0 to wait indefinitely.")
public&nbsp;long&nbsp;getMaxWait()</pre>
</li>
</ul>
<a name="getDefaultAutoCommit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultAutoCommit</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The default auto-commit state of connections created by this pool.")
public&nbsp;boolean&nbsp;getDefaultAutoCommit()</pre>
</li>
</ul>
<a name="getPoolPreparedStatements--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPoolPreparedStatements</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Prepared statement pooling for this pool.")
public&nbsp;boolean&nbsp;getPoolPreparedStatements()</pre>
</li>
</ul>
<a name="getTestOnBorrow--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTestOnBorrow</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The indication of whether objects will be validated before being borrowed from the pool.")
public&nbsp;boolean&nbsp;getTestOnBorrow()</pre>
</li>
</ul>
<a name="getTestOnReturn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTestOnReturn</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The indication of whether objects will be validated before being returned to the pool.")
public&nbsp;boolean&nbsp;getTestOnReturn()</pre>
</li>
</ul>
<a name="getTestWhileIdle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTestWhileIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The indication of whether objects will be validated by the idle object evictor (if any).")
public&nbsp;boolean&nbsp;getTestWhileIdle()</pre>
</li>
</ul>
<a name="getDefaultCatalog--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultCatalog</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The default \"catalog\" of connections created by this pool.")
public&nbsp;java.lang.String&nbsp;getDefaultCatalog()</pre>
</li>
</ul>
<a name="getDefaultReadOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultReadOnly</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The default read-only state of connections created by this pool.")
public&nbsp;boolean&nbsp;getDefaultReadOnly()</pre>
</li>
</ul>
<a name="getDefaultTransactionIsolation--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultTransactionIsolation</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The default TransactionIsolation state of connections created by this pool.")
public&nbsp;int&nbsp;getDefaultTransactionIsolation()</pre>
</li>
</ul>
<a name="getNumActive--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumActive</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The number of active connections in the pool.")
public&nbsp;int&nbsp;getNumActive()</pre>
</li>
</ul>
<a name="getNumIdle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The number of idle connections in the pool.")
public&nbsp;int&nbsp;getNumIdle()</pre>
</li>
</ul>
<a name="executeValidationQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeValidationQuery</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedOperation.html" title="annotation in org.apache.openejb.api.jmx">@ManagedOperation</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Execute the validation query.")
public&nbsp;java.lang.String&nbsp;executeValidationQuery()</pre>
</li>
</ul>
<a name="setDriverClassName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDriverClassName</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the class driver.")
public&nbsp;void&nbsp;setDriverClassName(java.lang.String&nbsp;name)</pre>
</li>
</ul>
<a name="setUrl-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUrl</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the connection URL.")
public&nbsp;void&nbsp;setUrl(java.lang.String&nbsp;url)</pre>
</li>
</ul>
<a name="setValidationQuery-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValidationQuery</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the SQL validation query.")
public&nbsp;void&nbsp;setValidationQuery(java.lang.String&nbsp;query)</pre>
</li>
</ul>
<a name="setUsername-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsername</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the connection username to be passed to our JDBC driver to establish a connection.")
public&nbsp;void&nbsp;setUsername(java.lang.String&nbsp;user)</pre>
</li>
</ul>
<a name="setValidationQueryTimeout-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValidationQueryTimeout</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the timeout in seconds before connection validation queries fail.")
public&nbsp;void&nbsp;setValidationQueryTimeout(int&nbsp;timeout)</pre>
</li>
</ul>
<a name="setInitialSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialSize</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the initial number of connections that are created when the pool is started.")
public&nbsp;void&nbsp;setInitialSize(int&nbsp;size)</pre>
</li>
</ul>
<a name="setMaxActive-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxActive</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.")
public&nbsp;void&nbsp;setMaxActive(int&nbsp;max)</pre>
</li>
</ul>
<a name="setMaxIdle-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the maximum number of connections that can remain idle in the pool, without extra ones beingdestroyed, or negative for no limit.")
public&nbsp;void&nbsp;setMaxIdle(int&nbsp;max)</pre>
</li>
</ul>
<a name="setMinIdle-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMinIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.")
public&nbsp;void&nbsp;setMinIdle(int&nbsp;min)</pre>
</li>
</ul>
<a name="setNumTestsPerEvictionRun-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNumTestsPerEvictionRun</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.")
public&nbsp;void&nbsp;setNumTestsPerEvictionRun(int&nbsp;num)</pre>
</li>
</ul>
<a name="setMinEvictableIdleTimeMillis-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMinEvictableIdleTimeMillis</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any).")
public&nbsp;void&nbsp;setMinEvictableIdleTimeMillis(long&nbsp;time)</pre>
</li>
</ul>
<a name="setTimeBetweenEvictionRunsMillis-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeBetweenEvictionRunsMillis</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the number of milliseconds to sleep between runs of the idle object evictor thread.")
public&nbsp;void&nbsp;setTimeBetweenEvictionRunsMillis(long&nbsp;time)</pre>
</li>
</ul>
<a name="setMaxOpenPreparedStatements-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxOpenPreparedStatements</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the maximum number of open statements that can be allocated from the statement pool at the same time, or non-positive for no limit.")
public&nbsp;void&nbsp;setMaxOpenPreparedStatements(int&nbsp;max)</pre>
</li>
</ul>
<a name="setMaxWait-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxWait</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or &lt;= 0 to wait indefinitely.")
public&nbsp;void&nbsp;setMaxWait(long&nbsp;max)</pre>
</li>
</ul>
<a name="setDefaultAutoCommit-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultAutoCommit</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the default auto-commit state of connections created by this pool.")
public&nbsp;void&nbsp;setDefaultAutoCommit(boolean&nbsp;auto)</pre>
</li>
</ul>
<a name="setPoolPreparedStatements-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPoolPreparedStatements</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the prepared statement pooling for this pool.")
public&nbsp;void&nbsp;setPoolPreparedStatements(boolean&nbsp;pool)</pre>
</li>
</ul>
<a name="setTestOnBorrow-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTestOnBorrow</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the indication of whether objects will be validated before being borrowed from the pool.")
public&nbsp;void&nbsp;setTestOnBorrow(boolean&nbsp;test)</pre>
</li>
</ul>
<a name="setTestOnReturn-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTestOnReturn</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the indication of whether objects will be validated before being returned to the pool.")
public&nbsp;void&nbsp;setTestOnReturn(boolean&nbsp;test)</pre>
</li>
</ul>
<a name="setTestWhileIdle-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTestWhileIdle</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the indication of whether objects will be validated by the idle object evictor (if any).")
public&nbsp;void&nbsp;setTestWhileIdle(boolean&nbsp;test)</pre>
</li>
</ul>
<a name="setDefaultCatalog-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultCatalog</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="The default \"catalog\" of connections created by this pool.")
public&nbsp;void&nbsp;setDefaultCatalog(java.lang.String&nbsp;catalog)</pre>
</li>
</ul>
<a name="setDefaultReadOnly-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultReadOnly</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the default read-only state of connections created by this pool.")
public&nbsp;void&nbsp;setDefaultReadOnly(boolean&nbsp;ro)</pre>
</li>
</ul>
<a name="setDefaultTransactionIsolation-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setDefaultTransactionIsolation</h4>
<pre><a href="../../../../../../org/apache/openejb/api/jmx/ManagedAttribute.html" title="annotation in org.apache.openejb.api.jmx">@ManagedAttribute</a>
<a href="../../../../../../org/apache/openejb/api/jmx/Description.html" title="annotation in org.apache.openejb.api.jmx">@Description</a>(<a href="../../../../../../org/apache/openejb/api/jmx/Description.html#value--">value</a>="Set the default TransactionIsolation state of connections created by this pool ([NONE: 0, READ_COMMITTED: 2, READ_UNCOMMITTED: 4, SERIALIZABLE: 8]).")
public&nbsp;void&nbsp;setDefaultTransactionIsolation(int&nbsp;level)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/DbcpManagedDataSource.html" title="class in org.apache.openejb.resource.jdbc.dbcp"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/openejb/resource/jdbc/dbcp/ManagedDataSourceWithRecovery.html" title="class in org.apache.openejb.resource.jdbc.dbcp"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/openejb/resource/jdbc/dbcp/JMXBasicDataSource.html" target="_top">Frames</a></li>
<li><a href="JMXBasicDataSource.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>