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 stateless-clustering complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="stateless-clustering">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="home-is-clusterable" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
038: * <element name="home-load-algorithm" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="home-call-router-class-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
040: * <element name="use-serverside-stubs" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
041: * <element name="stateless-bean-is-clusterable" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
042: * <element name="stateless-bean-load-algorithm" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
043: * <element name="stateless-bean-call-router-class-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
044: * </sequence>
045: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
046: * </restriction>
047: * </complexContent>
048: * </complexType>
049: * </pre>
050: *
051: *
052: */
053: @XmlAccessorType(XmlAccessType.FIELD)
054: @XmlType(name="stateless-clustering",propOrder={"homeIsClusterable","homeLoadAlgorithm","homeCallRouterClassName","useServersideStubs","statelessBeanIsClusterable","statelessBeanLoadAlgorithm","statelessBeanCallRouterClassName"})
055: public class StatelessClustering {
056:
057: @XmlElement(name="home-is-clusterable")
058: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
059: protected Boolean homeIsClusterable;
060: @XmlElement(name="home-load-algorithm")
061: protected String homeLoadAlgorithm;
062: @XmlElement(name="home-call-router-class-name")
063: protected String homeCallRouterClassName;
064: @XmlElement(name="use-serverside-stubs")
065: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
066: protected Boolean useServersideStubs;
067: @XmlElement(name="stateless-bean-is-clusterable")
068: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
069: protected Boolean statelessBeanIsClusterable;
070: @XmlElement(name="stateless-bean-load-algorithm")
071: protected String statelessBeanLoadAlgorithm;
072: @XmlElement(name="stateless-bean-call-router-class-name")
073: protected String statelessBeanCallRouterClassName;
074: @XmlAttribute
075: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
076: @XmlID
077: protected String id;
078:
079: /**
080: * Gets the value of the homeIsClusterable property.
081: *
082: * @return
083: * possible object is
084: * {@link Boolean }
085: *
086: */
087: public Boolean getHomeIsClusterable() {
088: return homeIsClusterable;
089: }
090:
091: /**
092: * Sets the value of the homeIsClusterable property.
093: *
094: * @param value
095: * allowed object is
096: * {@link Boolean }
097: *
098: */
099: public void setHomeIsClusterable(Boolean value) {
100: this .homeIsClusterable = value;
101: }
102:
103: /**
104: * Gets the value of the homeLoadAlgorithm property.
105: *
106: * @return
107: * possible object is
108: * {@link String }
109: *
110: */
111: public String getHomeLoadAlgorithm() {
112: return homeLoadAlgorithm;
113: }
114:
115: /**
116: * Sets the value of the homeLoadAlgorithm property.
117: *
118: * @param value
119: * allowed object is
120: * {@link String }
121: *
122: */
123: public void setHomeLoadAlgorithm(String value) {
124: this .homeLoadAlgorithm = value;
125: }
126:
127: /**
128: * Gets the value of the homeCallRouterClassName property.
129: *
130: * @return
131: * possible object is
132: * {@link String }
133: *
134: */
135: public String getHomeCallRouterClassName() {
136: return homeCallRouterClassName;
137: }
138:
139: /**
140: * Sets the value of the homeCallRouterClassName property.
141: *
142: * @param value
143: * allowed object is
144: * {@link String }
145: *
146: */
147: public void setHomeCallRouterClassName(String value) {
148: this .homeCallRouterClassName = value;
149: }
150:
151: /**
152: * Gets the value of the useServersideStubs property.
153: *
154: * @return
155: * possible object is
156: * {@link Boolean }
157: *
158: */
159: public Boolean getUseServersideStubs() {
160: return useServersideStubs;
161: }
162:
163: /**
164: * Sets the value of the useServersideStubs property.
165: *
166: * @param value
167: * allowed object is
168: * {@link Boolean }
169: *
170: */
171: public void setUseServersideStubs(Boolean value) {
172: this .useServersideStubs = value;
173: }
174:
175: /**
176: * Gets the value of the statelessBeanIsClusterable property.
177: *
178: * @return
179: * possible object is
180: * {@link Boolean }
181: *
182: */
183: public Boolean getStatelessBeanIsClusterable() {
184: return statelessBeanIsClusterable;
185: }
186:
187: /**
188: * Sets the value of the statelessBeanIsClusterable property.
189: *
190: * @param value
191: * allowed object is
192: * {@link Boolean }
193: *
194: */
195: public void setStatelessBeanIsClusterable(Boolean value) {
196: this .statelessBeanIsClusterable = value;
197: }
198:
199: /**
200: * Gets the value of the statelessBeanLoadAlgorithm property.
201: *
202: * @return
203: * possible object is
204: * {@link String }
205: *
206: */
207: public String getStatelessBeanLoadAlgorithm() {
208: return statelessBeanLoadAlgorithm;
209: }
210:
211: /**
212: * Sets the value of the statelessBeanLoadAlgorithm property.
213: *
214: * @param value
215: * allowed object is
216: * {@link String }
217: *
218: */
219: public void setStatelessBeanLoadAlgorithm(String value) {
220: this .statelessBeanLoadAlgorithm = value;
221: }
222:
223: /**
224: * Gets the value of the statelessBeanCallRouterClassName property.
225: *
226: * @return
227: * possible object is
228: * {@link String }
229: *
230: */
231: public String getStatelessBeanCallRouterClassName() {
232: return statelessBeanCallRouterClassName;
233: }
234:
235: /**
236: * Sets the value of the statelessBeanCallRouterClassName property.
237: *
238: * @param value
239: * allowed object is
240: * {@link String }
241: *
242: */
243: public void setStatelessBeanCallRouterClassName(String value) {
244: this .statelessBeanCallRouterClassName = value;
245: }
246:
247: /**
248: * Gets the value of the id property.
249: *
250: * @return
251: * possible object is
252: * {@link String }
253: *
254: */
255: public String getId() {
256: return id;
257: }
258:
259: /**
260: * Sets the value of the id property.
261: *
262: * @param value
263: * allowed object is
264: * {@link String }
265: *
266: */
267: public void setId(String value) {
268: this.id = value;
269: }
270:
271: }
|