KickJava   Java API By Example, From Geeks To Geeks.

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


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  * ConnectorConnectionPool.java
21  *
22  * Created on November 21, 2004, 2:33 AM
23  */

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

29 public interface ConnectorConnectionPool {
30
31         public static final String JavaDoc NAME = "Name"; // NOI18N
32
public static final String JavaDoc RESOURCEADAPTERNAME = "ResourceAdapterName"; // NOI18N
33
public static final String JavaDoc CONNECTIONDEFINITIONNAME = "ConnectionDefinitionName"; // 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 FAILALLCONNECTIONS = "FailAllConnections"; // NOI18N
40
public static final String JavaDoc DESCRIPTION = "Description"; // NOI18N
41
public static final String JavaDoc SECURITY_MAP = "SecurityMap"; // NOI18N
42
public static final String JavaDoc PROPERTY = "PropertyElement"; // NOI18N
43

44         public static final String JavaDoc TRANSACTIONSUPPORT = "TransactionSupport"; // NOI18N
45
public static final String JavaDoc ISCONNECTIONVALIDATIONREQUIRED = "IsConnectionValidationRequired"; // NOI18N
46

47     public void setName(java.lang.String JavaDoc value);
48
49     public java.lang.String JavaDoc getName();
50
51     public void setResourceAdapterName(java.lang.String JavaDoc value);
52
53     public java.lang.String JavaDoc getResourceAdapterName();
54
55     public void setConnectionDefinitionName(java.lang.String JavaDoc value);
56
57     public java.lang.String JavaDoc getConnectionDefinitionName();
58
59     public void setSteadyPoolSize(java.lang.String JavaDoc value);
60
61     public java.lang.String JavaDoc getSteadyPoolSize();
62
63     public void setMaxPoolSize(java.lang.String JavaDoc value);
64
65     public java.lang.String JavaDoc getMaxPoolSize();
66
67     public void setMaxWaitTimeInMillis(java.lang.String JavaDoc value);
68
69     public java.lang.String JavaDoc getMaxWaitTimeInMillis();
70
71     public void setPoolResizeQuantity(java.lang.String JavaDoc value);
72
73     public java.lang.String JavaDoc getPoolResizeQuantity();
74
75     public void setIdleTimeoutInSeconds(java.lang.String JavaDoc value);
76
77     public java.lang.String JavaDoc getIdleTimeoutInSeconds();
78
79     public void setFailAllConnections(java.lang.String JavaDoc value);
80
81     public java.lang.String JavaDoc getFailAllConnections();
82
83     public void setDescription(String JavaDoc value);
84
85     public String JavaDoc getDescription();
86
87     public void setSecurityMap(int index, SecurityMap value);
88     public SecurityMap getSecurityMap(int index);
89     public int sizeSecurityMap();
90     public void setSecurityMap(SecurityMap[] value);
91     public SecurityMap[] getSecurityMap();
92     public int addSecurityMap(SecurityMap value);
93     public int removeSecurityMap(SecurityMap value);
94     public SecurityMap newSecurityMap();
95
96     public void setPropertyElement(int index, PropertyElement value);
97     public PropertyElement getPropertyElement(int index);
98     public int sizePropertyElement();
99     public void setPropertyElement(PropertyElement[] value);
100     public PropertyElement[] getPropertyElement();
101     public int addPropertyElement(PropertyElement value);
102     public int removePropertyElement(PropertyElement value);
103     public PropertyElement newPropertyElement();
104         
105         //Resource 1.2
106
public void setTransactionSupport(java.lang.String JavaDoc value);
107
108     public java.lang.String JavaDoc getTransactionSupport();
109
110     public void setIsConnectionValidationRequired(java.lang.String JavaDoc value);
111
112     public java.lang.String JavaDoc getIsConnectionValidationRequired();
113 }
114
Popular Tags