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-clustering 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-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="replication-type" type="{http://www.w3.org/2001/XMLSchema}string" 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-clustering",propOrder={"homeIsClusterable","homeLoadAlgorithm","homeCallRouterClassName","useServersideStubs","replicationType"})
053: public class StatefulSessionClustering {
054:
055: @XmlElement(name="home-is-clusterable")
056: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
057: protected Boolean homeIsClusterable;
058: @XmlElement(name="home-load-algorithm")
059: protected String homeLoadAlgorithm;
060: @XmlElement(name="home-call-router-class-name")
061: protected String homeCallRouterClassName;
062: @XmlElement(name="use-serverside-stubs")
063: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
064: protected Boolean useServersideStubs;
065: @XmlElement(name="replication-type")
066: protected String replicationType;
067: @XmlAttribute
068: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
069: @XmlID
070: protected String id;
071:
072: /**
073: * Gets the value of the homeIsClusterable property.
074: *
075: * @return
076: * possible object is
077: * {@link Boolean }
078: *
079: */
080: public Boolean getHomeIsClusterable() {
081: return homeIsClusterable;
082: }
083:
084: /**
085: * Sets the value of the homeIsClusterable property.
086: *
087: * @param value
088: * allowed object is
089: * {@link Boolean }
090: *
091: */
092: public void setHomeIsClusterable(Boolean value) {
093: this .homeIsClusterable = value;
094: }
095:
096: /**
097: * Gets the value of the homeLoadAlgorithm property.
098: *
099: * @return
100: * possible object is
101: * {@link String }
102: *
103: */
104: public String getHomeLoadAlgorithm() {
105: return homeLoadAlgorithm;
106: }
107:
108: /**
109: * Sets the value of the homeLoadAlgorithm property.
110: *
111: * @param value
112: * allowed object is
113: * {@link String }
114: *
115: */
116: public void setHomeLoadAlgorithm(String value) {
117: this .homeLoadAlgorithm = value;
118: }
119:
120: /**
121: * Gets the value of the homeCallRouterClassName property.
122: *
123: * @return
124: * possible object is
125: * {@link String }
126: *
127: */
128: public String getHomeCallRouterClassName() {
129: return homeCallRouterClassName;
130: }
131:
132: /**
133: * Sets the value of the homeCallRouterClassName property.
134: *
135: * @param value
136: * allowed object is
137: * {@link String }
138: *
139: */
140: public void setHomeCallRouterClassName(String value) {
141: this .homeCallRouterClassName = value;
142: }
143:
144: /**
145: * Gets the value of the useServersideStubs property.
146: *
147: * @return
148: * possible object is
149: * {@link Boolean }
150: *
151: */
152: public Boolean getUseServersideStubs() {
153: return useServersideStubs;
154: }
155:
156: /**
157: * Sets the value of the useServersideStubs property.
158: *
159: * @param value
160: * allowed object is
161: * {@link Boolean }
162: *
163: */
164: public void setUseServersideStubs(Boolean value) {
165: this .useServersideStubs = value;
166: }
167:
168: /**
169: * Gets the value of the replicationType property.
170: *
171: * @return
172: * possible object is
173: * {@link String }
174: *
175: */
176: public String getReplicationType() {
177: return replicationType;
178: }
179:
180: /**
181: * Sets the value of the replicationType property.
182: *
183: * @param value
184: * allowed object is
185: * {@link String }
186: *
187: */
188: public void setReplicationType(String value) {
189: this .replicationType = value;
190: }
191:
192: /**
193: * Gets the value of the id property.
194: *
195: * @return
196: * possible object is
197: * {@link String }
198: *
199: */
200: public String getId() {
201: return id;
202: }
203:
204: /**
205: * Sets the value of the id property.
206: *
207: * @param value
208: * allowed object is
209: * {@link String }
210: *
211: */
212: public void setId(String value) {
213: this.id = value;
214: }
215:
216: }
|