Source Code Cross Referenced for ConnectionPoolParams.java in  » J2EE » openejb3 » org » apache » openejb » jee » wls » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » openejb3 » org.apache.openejb.jee.wls 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */package org.apache.openejb.jee.wls;
017:
018:        import java.math.BigInteger;
019:        import javax.xml.bind.annotation.XmlAccessType;
020:        import javax.xml.bind.annotation.XmlAccessorType;
021:        import javax.xml.bind.annotation.XmlAttribute;
022:        import javax.xml.bind.annotation.XmlElement;
023:        import javax.xml.bind.annotation.XmlID;
024:        import javax.xml.bind.annotation.XmlType;
025:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
026:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
027:
028:        /**
029:         * <p>Java class for connection-pool-params complex type.
030:         * 
031:         * <p>The following schema fragment specifies the expected content contained within this class.
032:         * 
033:         * <pre>
034:         * &lt;complexType name="connection-pool-params">
035:         *   &lt;complexContent>
036:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037:         *       &lt;sequence>
038:         *         &lt;element name="initial-capacity" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
039:         *         &lt;element name="max-capacity" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
040:         *         &lt;element name="capacity-increment" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
041:         *         &lt;element name="shrinking-enabled" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
042:         *         &lt;element name="shrink-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
043:         *         &lt;element name="highest-num-waiters" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
044:         *         &lt;element name="highest-num-unavailable" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
045:         *         &lt;element name="connection-creation-retry-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
046:         *         &lt;element name="connection-reserve-timeout-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
047:         *         &lt;element name="test-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
048:         *         &lt;element name="test-connections-on-create" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
049:         *         &lt;element name="test-connections-on-release" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
050:         *         &lt;element name="test-connections-on-reserve" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
051:         *         &lt;element name="profile-harvest-frequency-seconds" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
052:         *         &lt;element name="ignore-in-use-connections-enabled" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
053:         *       &lt;/sequence>
054:         *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
055:         *     &lt;/restriction>
056:         *   &lt;/complexContent>
057:         * &lt;/complexType>
058:         * </pre>
059:         * 
060:         * 
061:         */
062:        @XmlAccessorType(XmlAccessType.FIELD)
063:        @XmlType(name="connection-pool-params",propOrder={"initialCapacity","maxCapacity","capacityIncrement","shrinkingEnabled","shrinkFrequencySeconds","highestNumWaiters","highestNumUnavailable","connectionCreationRetryFrequencySeconds","connectionReserveTimeoutSeconds","testFrequencySeconds","testConnectionsOnCreate","testConnectionsOnRelease","testConnectionsOnReserve","profileHarvestFrequencySeconds","ignoreInUseConnectionsEnabled"})
064:        public class ConnectionPoolParams {
065:
066:            @XmlElement(name="initial-capacity")
067:            protected BigInteger initialCapacity;
068:            @XmlElement(name="max-capacity")
069:            protected BigInteger maxCapacity;
070:            @XmlElement(name="capacity-increment")
071:            protected BigInteger capacityIncrement;
072:            @XmlElement(name="shrinking-enabled")
073:            @XmlJavaTypeAdapter(TrueFalseAdapter.class)
074:            protected Boolean shrinkingEnabled;
075:            @XmlElement(name="shrink-frequency-seconds")
076:            protected BigInteger shrinkFrequencySeconds;
077:            @XmlElement(name="highest-num-waiters")
078:            protected BigInteger highestNumWaiters;
079:            @XmlElement(name="highest-num-unavailable")
080:            protected BigInteger highestNumUnavailable;
081:            @XmlElement(name="connection-creation-retry-frequency-seconds")
082:            protected BigInteger connectionCreationRetryFrequencySeconds;
083:            @XmlElement(name="connection-reserve-timeout-seconds")
084:            protected BigInteger connectionReserveTimeoutSeconds;
085:            @XmlElement(name="test-frequency-seconds")
086:            protected BigInteger testFrequencySeconds;
087:            @XmlElement(name="test-connections-on-create")
088:            @XmlJavaTypeAdapter(TrueFalseAdapter.class)
089:            protected Boolean testConnectionsOnCreate;
090:            @XmlElement(name="test-connections-on-release")
091:            @XmlJavaTypeAdapter(TrueFalseAdapter.class)
092:            protected Boolean testConnectionsOnRelease;
093:            @XmlElement(name="test-connections-on-reserve")
094:            @XmlJavaTypeAdapter(TrueFalseAdapter.class)
095:            protected Boolean testConnectionsOnReserve;
096:            @XmlElement(name="profile-harvest-frequency-seconds")
097:            protected BigInteger profileHarvestFrequencySeconds;
098:            @XmlElement(name="ignore-in-use-connections-enabled")
099:            @XmlJavaTypeAdapter(TrueFalseAdapter.class)
100:            protected Boolean ignoreInUseConnectionsEnabled;
101:            @XmlAttribute
102:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
103:            @XmlID
104:            protected String id;
105:
106:            /**
107:             * Gets the value of the initialCapacity property.
108:             * 
109:             * @return
110:             *     possible object is
111:             *     {@link BigInteger }
112:             *     
113:             */
114:            public BigInteger getInitialCapacity() {
115:                return initialCapacity;
116:            }
117:
118:            /**
119:             * Sets the value of the initialCapacity property.
120:             * 
121:             * @param value
122:             *     allowed object is
123:             *     {@link BigInteger }
124:             *     
125:             */
126:            public void setInitialCapacity(BigInteger value) {
127:                this .initialCapacity = value;
128:            }
129:
130:            /**
131:             * Gets the value of the maxCapacity property.
132:             * 
133:             * @return
134:             *     possible object is
135:             *     {@link BigInteger }
136:             *     
137:             */
138:            public BigInteger getMaxCapacity() {
139:                return maxCapacity;
140:            }
141:
142:            /**
143:             * Sets the value of the maxCapacity property.
144:             * 
145:             * @param value
146:             *     allowed object is
147:             *     {@link BigInteger }
148:             *     
149:             */
150:            public void setMaxCapacity(BigInteger value) {
151:                this .maxCapacity = value;
152:            }
153:
154:            /**
155:             * Gets the value of the capacityIncrement property.
156:             * 
157:             * @return
158:             *     possible object is
159:             *     {@link BigInteger }
160:             *     
161:             */
162:            public BigInteger getCapacityIncrement() {
163:                return capacityIncrement;
164:            }
165:
166:            /**
167:             * Sets the value of the capacityIncrement property.
168:             * 
169:             * @param value
170:             *     allowed object is
171:             *     {@link BigInteger }
172:             *     
173:             */
174:            public void setCapacityIncrement(BigInteger value) {
175:                this .capacityIncrement = value;
176:            }
177:
178:            /**
179:             * Gets the value of the shrinkingEnabled property.
180:             * 
181:             * @return
182:             *     possible object is
183:             *     {@link Boolean }
184:             *     
185:             */
186:            public Boolean getShrinkingEnabled() {
187:                return shrinkingEnabled;
188:            }
189:
190:            /**
191:             * Sets the value of the shrinkingEnabled property.
192:             * 
193:             * @param value
194:             *     allowed object is
195:             *     {@link Boolean }
196:             *     
197:             */
198:            public void setShrinkingEnabled(Boolean value) {
199:                this .shrinkingEnabled = value;
200:            }
201:
202:            /**
203:             * Gets the value of the shrinkFrequencySeconds property.
204:             * 
205:             * @return
206:             *     possible object is
207:             *     {@link BigInteger }
208:             *     
209:             */
210:            public BigInteger getShrinkFrequencySeconds() {
211:                return shrinkFrequencySeconds;
212:            }
213:
214:            /**
215:             * Sets the value of the shrinkFrequencySeconds property.
216:             * 
217:             * @param value
218:             *     allowed object is
219:             *     {@link BigInteger }
220:             *     
221:             */
222:            public void setShrinkFrequencySeconds(BigInteger value) {
223:                this .shrinkFrequencySeconds = value;
224:            }
225:
226:            /**
227:             * Gets the value of the highestNumWaiters property.
228:             * 
229:             * @return
230:             *     possible object is
231:             *     {@link BigInteger }
232:             *     
233:             */
234:            public BigInteger getHighestNumWaiters() {
235:                return highestNumWaiters;
236:            }
237:
238:            /**
239:             * Sets the value of the highestNumWaiters property.
240:             * 
241:             * @param value
242:             *     allowed object is
243:             *     {@link BigInteger }
244:             *     
245:             */
246:            public void setHighestNumWaiters(BigInteger value) {
247:                this .highestNumWaiters = value;
248:            }
249:
250:            /**
251:             * Gets the value of the highestNumUnavailable property.
252:             * 
253:             * @return
254:             *     possible object is
255:             *     {@link BigInteger }
256:             *     
257:             */
258:            public BigInteger getHighestNumUnavailable() {
259:                return highestNumUnavailable;
260:            }
261:
262:            /**
263:             * Sets the value of the highestNumUnavailable property.
264:             * 
265:             * @param value
266:             *     allowed object is
267:             *     {@link BigInteger }
268:             *     
269:             */
270:            public void setHighestNumUnavailable(BigInteger value) {
271:                this .highestNumUnavailable = value;
272:            }
273:
274:            /**
275:             * Gets the value of the connectionCreationRetryFrequencySeconds property.
276:             * 
277:             * @return
278:             *     possible object is
279:             *     {@link BigInteger }
280:             *     
281:             */
282:            public BigInteger getConnectionCreationRetryFrequencySeconds() {
283:                return connectionCreationRetryFrequencySeconds;
284:            }
285:
286:            /**
287:             * Sets the value of the connectionCreationRetryFrequencySeconds property.
288:             * 
289:             * @param value
290:             *     allowed object is
291:             *     {@link BigInteger }
292:             *     
293:             */
294:            public void setConnectionCreationRetryFrequencySeconds(
295:                    BigInteger value) {
296:                this .connectionCreationRetryFrequencySeconds = value;
297:            }
298:
299:            /**
300:             * Gets the value of the connectionReserveTimeoutSeconds property.
301:             * 
302:             * @return
303:             *     possible object is
304:             *     {@link BigInteger }
305:             *     
306:             */
307:            public BigInteger getConnectionReserveTimeoutSeconds() {
308:                return connectionReserveTimeoutSeconds;
309:            }
310:
311:            /**
312:             * Sets the value of the connectionReserveTimeoutSeconds property.
313:             * 
314:             * @param value
315:             *     allowed object is
316:             *     {@link BigInteger }
317:             *     
318:             */
319:            public void setConnectionReserveTimeoutSeconds(BigInteger value) {
320:                this .connectionReserveTimeoutSeconds = value;
321:            }
322:
323:            /**
324:             * Gets the value of the testFrequencySeconds property.
325:             * 
326:             * @return
327:             *     possible object is
328:             *     {@link BigInteger }
329:             *     
330:             */
331:            public BigInteger getTestFrequencySeconds() {
332:                return testFrequencySeconds;
333:            }
334:
335:            /**
336:             * Sets the value of the testFrequencySeconds property.
337:             * 
338:             * @param value
339:             *     allowed object is
340:             *     {@link BigInteger }
341:             *     
342:             */
343:            public void setTestFrequencySeconds(BigInteger value) {
344:                this .testFrequencySeconds = value;
345:            }
346:
347:            /**
348:             * Gets the value of the testConnectionsOnCreate property.
349:             * 
350:             * @return
351:             *     possible object is
352:             *     {@link Boolean }
353:             *     
354:             */
355:            public Boolean getTestConnectionsOnCreate() {
356:                return testConnectionsOnCreate;
357:            }
358:
359:            /**
360:             * Sets the value of the testConnectionsOnCreate property.
361:             * 
362:             * @param value
363:             *     allowed object is
364:             *     {@link Boolean }
365:             *     
366:             */
367:            public void setTestConnectionsOnCreate(Boolean value) {
368:                this .testConnectionsOnCreate = value;
369:            }
370:
371:            /**
372:             * Gets the value of the testConnectionsOnRelease property.
373:             * 
374:             * @return
375:             *     possible object is
376:             *     {@link Boolean }
377:             *     
378:             */
379:            public Boolean getTestConnectionsOnRelease() {
380:                return testConnectionsOnRelease;
381:            }
382:
383:            /**
384:             * Sets the value of the testConnectionsOnRelease property.
385:             * 
386:             * @param value
387:             *     allowed object is
388:             *     {@link Boolean }
389:             *     
390:             */
391:            public void setTestConnectionsOnRelease(Boolean value) {
392:                this .testConnectionsOnRelease = value;
393:            }
394:
395:            /**
396:             * Gets the value of the testConnectionsOnReserve property.
397:             * 
398:             * @return
399:             *     possible object is
400:             *     {@link Boolean }
401:             *     
402:             */
403:            public Boolean getTestConnectionsOnReserve() {
404:                return testConnectionsOnReserve;
405:            }
406:
407:            /**
408:             * Sets the value of the testConnectionsOnReserve property.
409:             * 
410:             * @param value
411:             *     allowed object is
412:             *     {@link Boolean }
413:             *     
414:             */
415:            public void setTestConnectionsOnReserve(Boolean value) {
416:                this .testConnectionsOnReserve = value;
417:            }
418:
419:            /**
420:             * Gets the value of the profileHarvestFrequencySeconds property.
421:             * 
422:             * @return
423:             *     possible object is
424:             *     {@link BigInteger }
425:             *     
426:             */
427:            public BigInteger getProfileHarvestFrequencySeconds() {
428:                return profileHarvestFrequencySeconds;
429:            }
430:
431:            /**
432:             * Sets the value of the profileHarvestFrequencySeconds property.
433:             * 
434:             * @param value
435:             *     allowed object is
436:             *     {@link BigInteger }
437:             *     
438:             */
439:            public void setProfileHarvestFrequencySeconds(BigInteger value) {
440:                this .profileHarvestFrequencySeconds = value;
441:            }
442:
443:            /**
444:             * Gets the value of the ignoreInUseConnectionsEnabled property.
445:             * 
446:             * @return
447:             *     possible object is
448:             *     {@link Boolean }
449:             *     
450:             */
451:            public Boolean getIgnoreInUseConnectionsEnabled() {
452:                return ignoreInUseConnectionsEnabled;
453:            }
454:
455:            /**
456:             * Sets the value of the ignoreInUseConnectionsEnabled property.
457:             * 
458:             * @param value
459:             *     allowed object is
460:             *     {@link Boolean }
461:             *     
462:             */
463:            public void setIgnoreInUseConnectionsEnabled(Boolean value) {
464:                this .ignoreInUseConnectionsEnabled = value;
465:            }
466:
467:            /**
468:             * Gets the value of the id property.
469:             * 
470:             * @return
471:             *     possible object is
472:             *     {@link String }
473:             *     
474:             */
475:            public String getId() {
476:                return id;
477:            }
478:
479:            /**
480:             * Sets the value of the id property.
481:             * 
482:             * @param value
483:             *     allowed object is
484:             *     {@link String }
485:             *     
486:             */
487:            public void setId(String value) {
488:                this.id = value;
489:            }
490:
491:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.