Fix getter access of boolean attributes
authorpero <pero@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 9 Sep 2009 08:29:33 +0000 (08:29 +0000)
committerpero <pero@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 9 Sep 2009 08:29:33 +0000 (08:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812819 13f79535-47bb-0310-9956-ffa450edef68

modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/mbeans-descriptors.xml

index 1cf0fd9..897782b 100644 (file)
@@ -54,6 +54,7 @@
     <attribute    name="poolSweeperEnabled"
            description="Returns true if the pool has a background thread running"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="url"
     <attribute    name="defaultAutoCommit"
            description="The JDBC auto commit setting for new connections"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="defaultReadOnly"
            description="The JDBC read only setting for new connections"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="defaultTransactionIsolation"
     <attribute    name="testOnBorrow"
            description="True if validation happens when a connection is requested"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="testOnReturn"
            description="True if validation happens when a connection is returned"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="testWhileIdle"
            description="True if validation happens when a connection is not in use (idle)"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="timeBetweenEvictionRunsMillis"
     <attribute    name="accessToUnderlyingConnectionAllowed"
            description="Returns true if one can retrieve the actual JDBC connection"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="removeAbandoned"
            description="Returns true if connection in use can be timed out"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="removeAbandonedTimeout"
     <attribute    name="logAbandoned"
            description="If true, stack trace will be recorded and printed out for timed out connection"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="loginTimeout"
                   type="java.lang.String"
              writeable="false"/>
 
-    <attribute    name="isTestOnConnect"
+    <attribute    name="testOnConnect"
            description="Validate connection after connection has been established"
                   type="java.lang.Boolean"
+                    is="true"
              writeable="false"/>
 
     <attribute    name="jdbcInterceptors"