org.apache.openejb.jee.wls.StatefulSessionDescriptor Maven / Gradle / Ivy
The newest version!
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.openejb.jee.wls;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for stateful-session-descriptor complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="stateful-session-descriptor">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="stateful-session-cache" type="{http://www.bea.com/ns/weblogic/90}stateful-session-cache" minOccurs="0"/>
* <element name="persistent-store-dir" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="stateful-session-clustering" type="{http://www.bea.com/ns/weblogic/90}stateful-session-clustering" minOccurs="0"/>
* <element name="allow-concurrent-calls" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
* <element name="allow-remove-during-transaction" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "stateful-session-descriptor", propOrder = {
"statefulSessionCache",
"persistentStoreDir",
"statefulSessionClustering",
"allowConcurrentCalls",
"allowRemoveDuringTransaction"
})
public class StatefulSessionDescriptor {
@XmlElement(name = "stateful-session-cache")
protected StatefulSessionCache statefulSessionCache;
@XmlElement(name = "persistent-store-dir")
protected String persistentStoreDir;
@XmlElement(name = "stateful-session-clustering")
protected StatefulSessionClustering statefulSessionClustering;
@XmlElement(name = "allow-concurrent-calls")
@XmlJavaTypeAdapter(TrueFalseAdapter.class)
protected Boolean allowConcurrentCalls;
@XmlElement(name = "allow-remove-during-transaction")
@XmlJavaTypeAdapter(TrueFalseAdapter.class)
protected Boolean allowRemoveDuringTransaction;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
protected String id;
/**
* Gets the value of the statefulSessionCache property.
*
* @return possible object is
* {@link StatefulSessionCache }
*/
public StatefulSessionCache getStatefulSessionCache() {
return statefulSessionCache;
}
/**
* Sets the value of the statefulSessionCache property.
*
* @param value allowed object is
* {@link StatefulSessionCache }
*/
public void setStatefulSessionCache(final StatefulSessionCache value) {
this.statefulSessionCache = value;
}
/**
* Gets the value of the persistentStoreDir property.
*
* @return possible object is
* {@link String }
*/
public String getPersistentStoreDir() {
return persistentStoreDir;
}
/**
* Sets the value of the persistentStoreDir property.
*
* @param value allowed object is
* {@link String }
*/
public void setPersistentStoreDir(final String value) {
this.persistentStoreDir = value;
}
/**
* Gets the value of the statefulSessionClustering property.
*
* @return possible object is
* {@link StatefulSessionClustering }
*/
public StatefulSessionClustering getStatefulSessionClustering() {
return statefulSessionClustering;
}
/**
* Sets the value of the statefulSessionClustering property.
*
* @param value allowed object is
* {@link StatefulSessionClustering }
*/
public void setStatefulSessionClustering(final StatefulSessionClustering value) {
this.statefulSessionClustering = value;
}
/**
* Gets the value of the allowConcurrentCalls property.
*
* @return possible object is
* {@link Boolean }
*/
public Boolean getAllowConcurrentCalls() {
return allowConcurrentCalls;
}
/**
* Sets the value of the allowConcurrentCalls property.
*
* @param value allowed object is
* {@link Boolean }
*/
public void setAllowConcurrentCalls(final Boolean value) {
this.allowConcurrentCalls = value;
}
/**
* Gets the value of the allowRemoveDuringTransaction property.
*
* @return possible object is
* {@link Boolean }
*/
public Boolean getAllowRemoveDuringTransaction() {
return allowRemoveDuringTransaction;
}
/**
* Sets the value of the allowRemoveDuringTransaction property.
*
* @param value allowed object is
* {@link Boolean }
*/
public void setAllowRemoveDuringTransaction(final Boolean value) {
this.allowRemoveDuringTransaction = value;
}
/**
* Gets the value of the id property.
*
* @return possible object is
* {@link String }
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value allowed object is
* {@link String }
*/
public void setId(final String value) {
this.id = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy