KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > config > JDBCConnectionPoolConfigKeys


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23  
24 /*
25  * $Header: /cvs/glassfish/admin-core/mbeanapi/src/java/com/sun/appserv/management/config/JDBCConnectionPoolConfigKeys.java,v 1.3 2005/12/25 03:49:35 tcfujii Exp $
26  * $Revision: 1.3 $
27  * $Date: 2005/12/25 03:49:35 $
28  */

29
30
31 package com.sun.appserv.management.config;
32
33
34 /**
35     Keys for use with {@link DomainConfig#createJDBCConnectionPoolConfig}.
36     
37     @see IsolationValues
38  */

39 public final class JDBCConnectionPoolConfigKeys
40 {
41     private JDBCConnectionPoolConfigKeys() {}
42     
43     /**
44         Key for use with {@link DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)}
45         
46         See {@link ConnectionValidationMethodValues}.
47     */

48     public final static String JavaDoc CONNECTION_VALIDATION_METHOD_KEY= "ConnectionValidationMethod";
49     
50     
51     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
52     public final static String JavaDoc VALIDATION_TABLE_NAME_KEY = "ValidationTableName";
53     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
54     public final static String JavaDoc DATASOURCE_CLASSNAME_KEY = "DatasourceClassname";
55     /** Key for use with {@link DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
56     public final static String JavaDoc FAIL_ALL_CONNECTIONS_KEY = "FailAllConnections";
57     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
58     public final static String JavaDoc IDLE_TIMEOUT_IN_SECONDS_KEY = "IdleTimeoutInSeconds";
59     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
60     public final static String JavaDoc IS_CONNECTION_VALIDATION_REQUIRED_KEY= "IsConnectionValidationRequired";
61     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
62     public final static String JavaDoc IS_ISOLATION_LEVEL_GUARANTEED_KEY= "IsIsolationLevelGuaranteed";
63     /**
64         Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)}
65         See {@link IsolationValues}.
66     */

67     public final static String JavaDoc TRANSACTION_ISOLATION_LEVEL_KEY= "TransactionIsolationLevel";
68     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
69     public final static String JavaDoc MAX_POOL_SIZE_KEY = "MaxPoolSize";
70     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
71     public final static String JavaDoc MAX_WAIT_TIME_MILLIS_KEY = "MaxWaitTimeInMillis";
72     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
73     public final static String JavaDoc POOL_RESIZE_QUANTITY_KEY = "PoolResizeQuantity";
74     /**
75         Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)}
76         Possible values:
77         <ul>
78         <li>javax.sql.DataSource</li>
79         <li>javax.sql.XADataSource</li>
80         <li>javax.sql.ConnectionPoolDataSource</li>
81         </ul>
82     */

83     public final static String JavaDoc RES_TYPE_KEY = "ResType";
84     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
85     public final static String JavaDoc STEADY_POOL_SIZE_KEY = "SteadyPoolSize";
86     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
87     public final static String JavaDoc DATABASE_NAME_KEY = "property.DatabaseName";
88     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
89     public final static String JavaDoc DATABASE_USER_KEY = "property.User";
90     /** Key for use with @link { DomainConfig#createJDBCConnectionPoolConfig(String, String, Map)} */
91     public final static String JavaDoc DATABASE_PASSWORD_KEY = "property.Password";
92     
93     
94 }
95
Popular Tags