@Target(value=TYPE) @Retention(value=RUNTIME) public @interface StatefulTimeout
The semantics of the value element are as follows:
Values less than -1 are not valid.>
0 indicates a timeout value in the units
specified by the unit
element.
Modifier and Type | Required Element and Description |
---|---|
long |
value
The amount of time the stateful session bean can be idle.
|
public abstract long value
>
0 indicates a timeout value in the units
specified by the unit
element.
public abstract TimeUnit unit
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.