01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.jee.sun;
17:
18: import javax.xml.bind.annotation.XmlAccessType;
19: import javax.xml.bind.annotation.XmlAccessorType;
20: import javax.xml.bind.annotation.XmlElement;
21: import javax.xml.bind.annotation.XmlType;
22:
23: @XmlAccessorType(XmlAccessType.FIELD)
24: @XmlType(name="",propOrder={"steadyPoolSize","resizeQuantity","maxPoolSize","poolIdleTimeoutInSeconds","maxWaitTimeInMillis"})
25: public class BeanPool {
26: @XmlElement(name="steady-pool-size")
27: protected String steadyPoolSize;
28: @XmlElement(name="resize-quantity")
29: protected String resizeQuantity;
30: @XmlElement(name="max-pool-size")
31: protected String maxPoolSize;
32: @XmlElement(name="pool-idle-timeout-in-seconds")
33: protected String poolIdleTimeoutInSeconds;
34: @XmlElement(name="max-wait-time-in-millis")
35: protected String maxWaitTimeInMillis;
36:
37: public String getSteadyPoolSize() {
38: return steadyPoolSize;
39: }
40:
41: public void setSteadyPoolSize(String value) {
42: this .steadyPoolSize = value;
43: }
44:
45: public String getResizeQuantity() {
46: return resizeQuantity;
47: }
48:
49: public void setResizeQuantity(String value) {
50: this .resizeQuantity = value;
51: }
52:
53: public String getMaxPoolSize() {
54: return maxPoolSize;
55: }
56:
57: public void setMaxPoolSize(String value) {
58: this .maxPoolSize = value;
59: }
60:
61: public String getPoolIdleTimeoutInSeconds() {
62: return poolIdleTimeoutInSeconds;
63: }
64:
65: public void setPoolIdleTimeoutInSeconds(String value) {
66: this .poolIdleTimeoutInSeconds = value;
67: }
68:
69: public String getMaxWaitTimeInMillis() {
70: return maxWaitTimeInMillis;
71: }
72:
73: public void setMaxWaitTimeInMillis(String value) {
74: this.maxWaitTimeInMillis = value;
75: }
76: }
|