This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 9ddb734  Clean up
9ddb734 is described below

commit 9ddb734b7d981d68d268759a3de244f4d7d02e98
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 27 16:22:41 2021 +0100

    Clean up
---
 .../javax/annotation/sql/DataSourceDefinition.java | 72 ++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/java/javax/annotation/sql/DataSourceDefinition.java 
b/java/javax/annotation/sql/DataSourceDefinition.java
index feb0758..a779b21 100644
--- a/java/javax/annotation/sql/DataSourceDefinition.java
+++ b/java/javax/annotation/sql/DataSourceDefinition.java
@@ -27,22 +27,94 @@ import java.lang.annotation.Target;
 @Target(ElementType.TYPE)
 @Retention(RetentionPolicy.RUNTIME)
 public @interface DataSourceDefinition {
+
+    /**
+     * @return the className
+     */
     String className();
+
+    /**
+     * @return the name
+     */
     String name();
+
+    /**
+     * @return the description
+     */
     String description() default "";
+
+    /**
+     * @return the url
+     */
     String url() default "";
+
+    /**
+     * @return the user
+     */
     String user() default "";
+
+    /**
+     * @return the password
+     */
     String password() default "";
+
+    /**
+     * @return database name
+     */
     String databaseName() default "";
+
+    /**
+     * @return the port number
+     */
     int portNumber() default -1;
+
+    /**
+     * @return the server name
+     */
     String serverName() default "localhost";
+
+    /**
+     * @return the isolation level
+     */
     int isolationLevel() default -1;
+
+    /**
+     * @return true if the data source is transactional
+     */
     boolean transactional() default true;
+
+    /**
+     * @return the initial pool size
+     */
     int initialPoolSize() default -1;
+
+    /**
+     * @return the max pool size
+     */
     int maxPoolSize() default -1;
+
+    /**
+     * @return the min pool size
+     */
     int minPoolSize() default -1;
+
+    /**
+     * @return the max idle time
+     */
     int maxIdleTime() default -1;
+
+    /**
+     * @return the max statements
+     */
     int maxStatements() default -1;
+
+    /**
+     * @return a String[] with the properties
+     */
     String[] properties() default {};
+
+    /**
+     * @return the login timeout
+     */
     int loginTimeout() default 0;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to