KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > api > serverresources > JdbcConnectionPool


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * JdbcConnectionPool.java
21  *
22  * Created on November 21, 2004, 4:47 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.serverresources;
26 /**
27  * @author Nitya Doraisamy
28  */

29 public interface JdbcConnectionPool {
30
31         public static final String JavaDoc NAME = "Name"; // NOI18N
32
public static final String JavaDoc DATASOURCECLASSNAME = "DatasourceClassname"; // NOI18N
33
public static final String JavaDoc RESTYPE = "ResType"; // NOI18N
34
public static final String JavaDoc STEADYPOOLSIZE = "SteadyPoolSize"; // NOI18N
35
public static final String JavaDoc MAXPOOLSIZE = "MaxPoolSize"; // NOI18N
36
public static final String JavaDoc MAXWAITTIMEINMILLIS = "MaxWaitTimeInMillis"; // NOI18N
37
public static final String JavaDoc POOLRESIZEQUANTITY = "PoolResizeQuantity"; // NOI18N
38
public static final String JavaDoc IDLETIMEOUTINSECONDS = "IdleTimeoutInSeconds"; // NOI18N
39
public static final String JavaDoc TRANSACTIONISOLATIONLEVEL = "TransactionIsolationLevel"; // NOI18N
40
public static final String JavaDoc ISISOLATIONLEVELGUARANTEED = "IsIsolationLevelGuaranteed"; // NOI18N
41
public static final String JavaDoc ISCONNECTIONVALIDATIONREQUIRED = "IsConnectionValidationRequired"; // NOI18N
42
public static final String JavaDoc CONNECTIONVALIDATIONMETHOD = "ConnectionValidationMethod"; // NOI18N
43
public static final String JavaDoc VALIDATIONTABLENAME = "ValidationTableName"; // NOI18N
44
public static final String JavaDoc FAILALLCONNECTIONS = "FailAllConnections"; // NOI18N
45
public static final String JavaDoc DESCRIPTION = "Description"; // NOI18N
46
public static final String JavaDoc PROPERTY = "PropertyElement"; // NOI18N
47
public static final String JavaDoc NONTRANSACTIONALCONNECTIONS = "NonTransactionalConnections"; // NOI18N
48
public static final String JavaDoc ALLOWNONCOMPONENTCALLERS = "AllowNonComponentCallers"; // NOI18N
49

50     public void setName(java.lang.String JavaDoc value);
51
52     public java.lang.String JavaDoc getName();
53
54     public void setDatasourceClassname(java.lang.String JavaDoc value);
55
56     public java.lang.String JavaDoc getDatasourceClassname();
57
58     public void setResType(java.lang.String JavaDoc value);
59
60     public java.lang.String JavaDoc getResType();
61
62     public void setSteadyPoolSize(java.lang.String JavaDoc value);
63
64     public java.lang.String JavaDoc getSteadyPoolSize();
65
66     public void setMaxPoolSize(java.lang.String JavaDoc value);
67
68     public java.lang.String JavaDoc getMaxPoolSize();
69
70     public void setMaxWaitTimeInMillis(java.lang.String JavaDoc value);
71
72     public java.lang.String JavaDoc getMaxWaitTimeInMillis();
73
74     public void setPoolResizeQuantity(java.lang.String JavaDoc value);
75
76     public java.lang.String JavaDoc getPoolResizeQuantity();
77
78     public void setIdleTimeoutInSeconds(java.lang.String JavaDoc value);
79
80     public java.lang.String JavaDoc getIdleTimeoutInSeconds();
81
82     public void setTransactionIsolationLevel(java.lang.String JavaDoc value);
83
84     public java.lang.String JavaDoc getTransactionIsolationLevel();
85
86     public void setIsIsolationLevelGuaranteed(java.lang.String JavaDoc value);
87
88     public java.lang.String JavaDoc getIsIsolationLevelGuaranteed();
89
90     public void setIsConnectionValidationRequired(java.lang.String JavaDoc value);
91
92     public java.lang.String JavaDoc getIsConnectionValidationRequired();
93
94     public void setConnectionValidationMethod(java.lang.String JavaDoc value);
95
96     public java.lang.String JavaDoc getConnectionValidationMethod();
97
98     public void setValidationTableName(java.lang.String JavaDoc value);
99
100     public java.lang.String JavaDoc getValidationTableName();
101
102     public void setFailAllConnections(java.lang.String JavaDoc value);
103
104     public java.lang.String JavaDoc getFailAllConnections();
105
106     public void setDescription(String JavaDoc value);
107
108     public String JavaDoc getDescription();
109
110     public void setPropertyElement(int index, PropertyElement value);
111     public PropertyElement getPropertyElement(int index);
112     public int sizePropertyElement();
113     public void setPropertyElement(PropertyElement[] value);
114     public PropertyElement[] getPropertyElement();
115     public int addPropertyElement(PropertyElement value);
116     public int removePropertyElement(PropertyElement value);
117     public PropertyElement newPropertyElement();
118         
119         //Resource 1.2
120
public void setNonTransactionalConnections(java.lang.String JavaDoc value);
121
122     public java.lang.String JavaDoc getNonTransactionalConnections();
123         
124         public void setAllowNonComponentCallers(java.lang.String JavaDoc value);
125
126     public java.lang.String JavaDoc getAllowNonComponentCallers();
127
128 }
129
Popular Tags