org.apache.cxf.transport.jms.SessionPoolType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxf-bundle-minimal Show documentation
Show all versions of cxf-bundle-minimal Show documentation
Apache CXF Minimal Bundle Jar
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.08.14 at 05:06:31 PM EDT
//
package org.apache.cxf.transport.jms;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import org.apache.cxf.wsdl.TExtensibilityElementImpl;
/**
* JMS Session pool configuration policy
*
* Java class for SessionPoolType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SessionPoolType">
* <complexContent>
* <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
* <attribute name="lowWaterMark" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" default="20" />
* <attribute name="highWaterMark" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" default="500" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SessionPoolType")
public class SessionPoolType
extends TExtensibilityElementImpl
{
@XmlAttribute(name = "lowWaterMark")
protected Integer lowWaterMark;
@XmlAttribute(name = "highWaterMark")
protected Integer highWaterMark;
/**
* Sets the value of the lowWaterMark property.
*
*/
public void setLowWaterMark(int value) {
lowWaterMark = value;
}
public void unsetLowWaterMark() {
lowWaterMark = null;
}
public boolean isSetLowWaterMark() {
return (this.lowWaterMark!= null);
}
/**
* Gets the value of the lowWaterMark property.
*
*/
public int getLowWaterMark() {
if (null == lowWaterMark) {
return 20;
}
return lowWaterMark;
}
/**
* Sets the value of the highWaterMark property.
*
*/
public void setHighWaterMark(int value) {
highWaterMark = value;
}
public void unsetHighWaterMark() {
highWaterMark = null;
}
public boolean isSetHighWaterMark() {
return (this.highWaterMark!= null);
}
/**
* Gets the value of the highWaterMark property.
*
*/
public int getHighWaterMark() {
if (null == highWaterMark) {
return 500;
}
return highWaterMark;
}
}