Document new validation class (https://issues.apache.org/bugzilla/show_bug.cgi?id...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 8 Sep 2010 15:31:27 +0000 (15:31 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 8 Sep 2010 15:31:27 +0000 (15:31 +0000)
Patch provided by Matt Passell.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@995095 13f79535-47bb-0310-9956-ffa450edef68

modules/jdbc-pool/doc/jdbc-pool.xml

index acbd41b..3b2b65d 100644 (file)
       </p>
     </attribute>
     
+    <attribute name="validatorClassName" required="false">
+      <p>(String) The name of a class which implements the
+         <code>org.apache.tomcat.jdbc.pool.Validator</code> interface and
+         provides a no-arg constructor (may be implicit). If specified, the
+         class will be used to create a Validator instance which is then used
+         instead of any validation query to validate connections. The default
+         value is <code>null</code>. An example value is
+         <code>com.mycompany.project.SimpleValidator</code>.
+      </p>
+    </attribute>
+    
     <attribute name="timeBetweenEvictionRunsMillis" required="false">
       <p>(int) The number of milliseconds to sleep between runs of the idle connection validation/cleaner thread. 
          This value should not be set under 1 second. It dictates how often we check for idle, abandoned connections, and how often