Package org.apache.openejb.jee
Class Timeout
- java.lang.Object
-
- org.apache.openejb.jee.Timeout
-
public class Timeout extends Object
ejb-jar_3_1.xsd class that combines the access-timeoutType and session-timeoutType xml types which have the same structure.Java class for access-timeoutType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="access-timeoutType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType"/> <element name="unit" type="{http://java.sun.com/xml/ns/javaee}time-unit-typeType"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>Java class for stateful-timeoutType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="stateful-timeoutType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType"/> <element name="unit" type="{http://java.sun.com/xml/ns/javaee}time-unit-typeType"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Timeout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()longgetTimeout()TimeUnitgetUnit()voidsetId(String value)voidsetTimeout(long value)voidsetUnit(TimeUnit value)
-