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 javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlAttribute;
021: import javax.xml.bind.annotation.XmlElement;
022: import javax.xml.bind.annotation.XmlID;
023: import javax.xml.bind.annotation.XmlType;
024: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027: /**
028: * <p>Java class for stateful-session-descriptor complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="stateful-session-descriptor">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="stateful-session-cache" type="{http://www.bea.com/ns/weblogic/90}stateful-session-cache" minOccurs="0"/>
038: * <element name="persistent-store-dir" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="stateful-session-clustering" type="{http://www.bea.com/ns/weblogic/90}stateful-session-clustering" minOccurs="0"/>
040: * <element name="allow-concurrent-calls" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
041: * <element name="allow-remove-during-transaction" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </pre>
048: *
049: *
050: */
051: @XmlAccessorType(XmlAccessType.FIELD)
052: @XmlType(name="stateful-session-descriptor",propOrder={"statefulSessionCache","persistentStoreDir","statefulSessionClustering","allowConcurrentCalls","allowRemoveDuringTransaction"})
053: public class StatefulSessionDescriptor {
054:
055: @XmlElement(name="stateful-session-cache")
056: protected StatefulSessionCache statefulSessionCache;
057: @XmlElement(name="persistent-store-dir")
058: protected String persistentStoreDir;
059: @XmlElement(name="stateful-session-clustering")
060: protected StatefulSessionClustering statefulSessionClustering;
061: @XmlElement(name="allow-concurrent-calls")
062: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
063: protected Boolean allowConcurrentCalls;
064: @XmlElement(name="allow-remove-during-transaction")
065: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
066: protected Boolean allowRemoveDuringTransaction;
067: @XmlAttribute
068: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
069: @XmlID
070: protected String id;
071:
072: /**
073: * Gets the value of the statefulSessionCache property.
074: *
075: * @return
076: * possible object is
077: * {@link StatefulSessionCache }
078: *
079: */
080: public StatefulSessionCache getStatefulSessionCache() {
081: return statefulSessionCache;
082: }
083:
084: /**
085: * Sets the value of the statefulSessionCache property.
086: *
087: * @param value
088: * allowed object is
089: * {@link StatefulSessionCache }
090: *
091: */
092: public void setStatefulSessionCache(StatefulSessionCache value) {
093: this .statefulSessionCache = value;
094: }
095:
096: /**
097: * Gets the value of the persistentStoreDir property.
098: *
099: * @return
100: * possible object is
101: * {@link String }
102: *
103: */
104: public String getPersistentStoreDir() {
105: return persistentStoreDir;
106: }
107:
108: /**
109: * Sets the value of the persistentStoreDir property.
110: *
111: * @param value
112: * allowed object is
113: * {@link String }
114: *
115: */
116: public void setPersistentStoreDir(String value) {
117: this .persistentStoreDir = value;
118: }
119:
120: /**
121: * Gets the value of the statefulSessionClustering property.
122: *
123: * @return
124: * possible object is
125: * {@link StatefulSessionClustering }
126: *
127: */
128: public StatefulSessionClustering getStatefulSessionClustering() {
129: return statefulSessionClustering;
130: }
131:
132: /**
133: * Sets the value of the statefulSessionClustering property.
134: *
135: * @param value
136: * allowed object is
137: * {@link StatefulSessionClustering }
138: *
139: */
140: public void setStatefulSessionClustering(
141: StatefulSessionClustering value) {
142: this .statefulSessionClustering = value;
143: }
144:
145: /**
146: * Gets the value of the allowConcurrentCalls property.
147: *
148: * @return
149: * possible object is
150: * {@link Boolean }
151: *
152: */
153: public Boolean getAllowConcurrentCalls() {
154: return allowConcurrentCalls;
155: }
156:
157: /**
158: * Sets the value of the allowConcurrentCalls property.
159: *
160: * @param value
161: * allowed object is
162: * {@link Boolean }
163: *
164: */
165: public void setAllowConcurrentCalls(Boolean value) {
166: this .allowConcurrentCalls = value;
167: }
168:
169: /**
170: * Gets the value of the allowRemoveDuringTransaction property.
171: *
172: * @return
173: * possible object is
174: * {@link Boolean }
175: *
176: */
177: public Boolean getAllowRemoveDuringTransaction() {
178: return allowRemoveDuringTransaction;
179: }
180:
181: /**
182: * Sets the value of the allowRemoveDuringTransaction property.
183: *
184: * @param value
185: * allowed object is
186: * {@link Boolean }
187: *
188: */
189: public void setAllowRemoveDuringTransaction(Boolean value) {
190: this .allowRemoveDuringTransaction = value;
191: }
192:
193: /**
194: * Gets the value of the id property.
195: *
196: * @return
197: * possible object is
198: * {@link String }
199: *
200: */
201: public String getId() {
202: return id;
203: }
204:
205: /**
206: * Sets the value of the id property.
207: *
208: * @param value
209: * allowed object is
210: * {@link String }
211: *
212: */
213: public void setId(String value) {
214: this.id = value;
215: }
216:
217: }
|