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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeout
protected long timeout
unit
protected TimeUnit unit
id
protected String id
Timeout
public Timeout()
getTimeout
public long getTimeout()
setTimeout
public void setTimeout(long value)
getUnit
public TimeUnit getUnit()
setUnit
public void setUnit(TimeUnit value)
getId
public String getId()
setId
public void setId(String value)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.